Package | Description |
---|---|
com.microsoft.bingads | |
com.microsoft.bingads.internal |
Modifier and Type | Method and Description |
---|---|
abstract void |
NewOAuthTokensReceivedListener.onNewOAuthTokensReceived(OAuthTokens newOAuthTokens)
This method will be called when new OAuthTokens are available.
|
Constructor and Description |
---|
OAuthDesktopMobileAuthCodeGrant(String clientId,
OAuthTokens oauthTokens)
Creates new instance of the class that can be used in the
AuthorizationData object. |
OAuthDesktopMobileAuthCodeGrant(String clientId,
OAuthTokens oauthTokens,
ApiEnvironment env)
Creates new instance of the class that can be used in the
AuthorizationData object. |
OAuthDesktopMobileAuthCodeGrant(String clientId,
OAuthTokens oauthTokens,
ApiEnvironment env,
OAuthScope oAuthScope) |
OAuthDesktopMobileImplicitGrant(String clientId,
OAuthTokens oauthTokens)
Creates new instance of the class that can be used in the
AuthorizationData object. |
OAuthDesktopMobileImplicitGrant(String clientId,
OAuthTokens oauthTokens,
ApiEnvironment env)
Creates new instance of the class that can be used in the
AuthorizationData object. |
OAuthDesktopMobileImplicitGrant(String clientId,
OAuthTokens oauthTokens,
ApiEnvironment env,
OAuthScope oAuthScope) |
OAuthWebAuthCodeGrant(String clientId,
String clientSecret,
URL redirectionUrl,
OAuthTokens oauthTokens)
Creates new instance of the class that can be used in the
AuthorizationData object. |
OAuthWebAuthCodeGrant(String clientId,
String clientSecret,
URL redirectionUrl,
OAuthTokens oauthTokens,
ApiEnvironment env)
Creates new instance of the class that can be used in the
AuthorizationData object. |
OAuthWebAuthCodeGrant(String clientId,
String clientSecret,
URL redirectionUrl,
OAuthTokens oauthTokens,
ApiEnvironment env,
OAuthScope oAuthScope) |
Modifier and Type | Method and Description |
---|---|
OAuthTokens |
OAuthImplicitGrant.extractAccessTokenFromUrl(URL redirectionUri)
Extracts the access token from the specified
|
OAuthTokens |
UriOAuthService.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. |
OAuthTokens |
OAuthService.getAccessTokens(com.microsoft.bingads.internal.OAuthRequestParameters oAuthParameters,
OAuthScope oAuthScope,
String tenant,
Map<String,String> additionalParams) |
OAuthTokens |
OAuthWithAuthorizationCode.refreshTokensIfNeeded(boolean forceRefresh)
Retrieves OAuth tokens from authorization server using the last known refresh token from the current session.
|
OAuthTokens |
OAuthWithAuthorizationCode.requestAccessAndRefreshTokens(String refreshToken)
Retrieves OAuth tokens from authorization server using the refresh token provided by user.
|
OAuthTokens |
OAuthWithAuthorizationCode.requestAccessAndRefreshTokens(URL responseUrl)
Retrieves OAuth tokens from authorization server using the authorization code provided by user.
|
OAuthTokens |
OAuthWithAuthorizationCode.requestAccessAndRefreshTokens(URL responseUrl,
Map<String,String> additionalParams)
Retrieves OAuth tokens from authorization server using the authorization code provided by user.
|
Constructor and Description |
---|
OAuthImplicitGrant(String clientId,
URL redirectionUri,
OAuthTokens oauthTokens,
ApiEnvironment env,
OAuthScope oAuthScope) |
OAuthWithAuthorizationCode(String clientId,
String clientSecret,
URL redirectionUri,
OAuthTokens oauthTokens,
ApiEnvironment env,
OAuthScope oAuthScope) |
Copyright © 2024. All rights reserved.