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 OAuthService
oAuthParameters
- OAuth parameters for authorization server callpublic URL getRedirectUrl(OAuthScope oAuthScope)
getRedirectUrl
in interface OAuthService
Copyright © 2024. All rights reserved.