Interface AuthorizationCodeFlow.CredentialCreatedListener
- Enclosing class:
AuthorizationCodeFlow
public static interface AuthorizationCodeFlow.CredentialCreatedListener
Listener for a created credential after a successful token response in
AuthorizationCodeFlow.createAndStoreCredential(TokenResponse, String).- Since:
- 1.14
-
Method Summary
Modifier and TypeMethodDescriptionvoidonCredentialCreated(Credential credential, TokenResponse tokenResponse) Notifies of a created credential after a successful token response inAuthorizationCodeFlow.createAndStoreCredential(TokenResponse, String).
-
Method Details
-
onCredentialCreated
Notifies of a created credential after a successful token response inAuthorizationCodeFlow.createAndStoreCredential(TokenResponse, String).Typical use is to parse additional fields from the credential created, such as an ID token.
- Parameters:
credential- created credentialtokenResponse- successful token response- Throws:
IOException
-