Interface AuthorizationCodeFlow.CredentialCreatedListener (1.36.0)

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
Name Description
credential Credential

created credential

tokenResponse TokenResponse

successful token response

Exceptions
Type Description
IOException