Package | Description |
---|---|
com.google.auth.oauth2 |
Modifier and Type | Method and Description |
---|---|
static OAuth2CredentialsWithRefresh.Builder |
OAuth2CredentialsWithRefresh.newBuilder() |
OAuth2CredentialsWithRefresh.Builder |
OAuth2CredentialsWithRefresh.Builder.setAccessToken(AccessToken token)
Sets the
AccessToken to be consumed. |
OAuth2CredentialsWithRefresh.Builder |
OAuth2CredentialsWithRefresh.Builder.setRefreshHandler(OAuth2CredentialsWithRefresh.OAuth2RefreshHandler handler)
Sets the
OAuth2CredentialsWithRefresh.OAuth2RefreshHandler to be used for token refreshes. |
Constructor and Description |
---|
OAuth2CredentialsWithRefresh(OAuth2CredentialsWithRefresh.Builder builder) |
Copyright © 2023 Google. All rights reserved.