Interface AuthorizationCodeFlow.CredentialCreatedListener (1.33.3)

public static interface AuthorizationCodeFlow.CredentialCreatedListener

Listener for a created credential after a successful token response in #createAndStoreCredential.

Methods

onCredentialCreated(Credential credential, TokenResponse tokenResponse)

public abstract void onCredentialCreated(Credential credential, TokenResponse tokenResponse)

Notifies of a created credential after a successful token response in #createAndStoreCredential.

Typical use is to parse additional fields from the credential created, such as an ID token.

Parameters
NameDescription
credentialCredential

created credential

tokenResponseTokenResponse

successful token response

Exceptions
TypeDescription
IOException