public class UriOAuthService extends Object implements OAuthService
OAuthRequestParameters.| Constructor and Description |
|---|
UriOAuthService(ApiEnvironment env) |
UriOAuthService(WebServiceCaller caller,
ApiEnvironment env) |
| Modifier and Type | Method and Description |
|---|---|
OAuthTokens |
getAccessTokens(com.microsoft.bingads.internal.OAuthRequestParameters oAuthParameters,
OAuthScope oAuthScope,
String tenant,
Map<String,String> additionalParams)
Calls live.com authorization server with the
OAuthRequestParameters passed in, deserializes the response
and returns back OAuth tokens. |
URL |
getRedirectUrl(OAuthScope oAuthScope) |
public UriOAuthService(ApiEnvironment env)
public UriOAuthService(WebServiceCaller caller, ApiEnvironment env)
public OAuthTokens getAccessTokens(com.microsoft.bingads.internal.OAuthRequestParameters oAuthParameters, OAuthScope oAuthScope, String tenant, Map<String,String> additionalParams)
OAuthRequestParameters passed in, deserializes the response
and returns back OAuth tokens.getAccessTokens in interface OAuthServiceoAuthParameters - OAuth parameters for authorization server callpublic URL getRedirectUrl(OAuthScope oAuthScope)
getRedirectUrl in interface OAuthServiceCopyright © 2024. All rights reserved.