public static interface OAuth2Credentials.CredentialsChangedListener
This is called when token content changes, such as when the access token is refreshed. This is typically used by code caching the access token.
Modifier and Type | Method and Description |
---|---|
void |
onChanged(OAuth2Credentials credentials)
Notifies that the credentials have changed.
|
void onChanged(OAuth2Credentials credentials) throws IOException
This is called when token content changes, such as when the access token is refreshed. This is typically used by code caching the access token.
credentials
- The updated credentials instanceIOException
- My be thrown by listeners if saving credentials fails.Copyright © 2023 Google. All rights reserved.