public static interface AuthorizationCodeFlow.CredentialCreatedListener
AuthorizationCodeFlow.createAndStoreCredential(com.google.api.client.auth.oauth2.TokenResponse, java.lang.String).| Modifier and Type | Method and Description |
|---|---|
void |
onCredentialCreated(Credential credential,
TokenResponse tokenResponse)
Notifies of a created credential after a successful token response in
AuthorizationCodeFlow.createAndStoreCredential(com.google.api.client.auth.oauth2.TokenResponse, java.lang.String). |
void onCredentialCreated(Credential credential, TokenResponse tokenResponse) throws IOException
AuthorizationCodeFlow.createAndStoreCredential(com.google.api.client.auth.oauth2.TokenResponse, java.lang.String).
Typical use is to parse additional fields from the credential created, such as an ID token.
credential - created credentialtokenResponse - successful token responseIOExceptionCopyright © 2011–2025 Google. All rights reserved.