Class HadoopCredentialsConfiguration.AccessTokenProviderCredentials

java.lang.Object
com.google.auth.Credentials
com.google.auth.oauth2.OAuth2Credentials
com.google.auth.oauth2.GoogleCredentials
com.google.cloud.hadoop.util.HadoopCredentialsConfiguration.AccessTokenProviderCredentials
All Implemented Interfaces:
com.google.auth.oauth2.QuotaProjectIdProvider, Serializable
Enclosing class:
HadoopCredentialsConfiguration

public static final class HadoopCredentialsConfiguration.AccessTokenProviderCredentials extends com.google.auth.oauth2.GoogleCredentials
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.auth.oauth2.GoogleCredentials

    com.google.auth.oauth2.GoogleCredentials.Builder

    Nested classes/interfaces inherited from class com.google.auth.oauth2.OAuth2Credentials

    com.google.auth.oauth2.OAuth2Credentials.CredentialsChangedListener
  • Field Summary

    Fields inherited from class com.google.auth.oauth2.GoogleCredentials

    quotaProjectId

    Fields inherited from class com.google.auth.Credentials

    GOOGLE_DEFAULT_UNIVERSE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    com.google.auth.oauth2.AccessToken
     

    Methods inherited from class com.google.auth.oauth2.GoogleCredentials

    create, create, createDelegated, createScoped, createScoped, createScoped, createScopedRequired, createWithCustomRetryStrategy, createWithQuotaProject, equals, fromStream, fromStream, getAdditionalHeaders, getApplicationDefault, getApplicationDefault, getCredentialInfo, getProjectId, getQuotaProjectId, getUniverseDomain, hashCode, isExplicitUniverseDomain, newBuilder, toBuilder, toString, toStringHelper

    Methods inherited from class com.google.auth.oauth2.OAuth2Credentials

    addChangeListener, getAccessToken, getAuthenticationType, getFromServiceLoader, getRequestMetadata, getRequestMetadata, getRequestMetadataInternal, hasRequestMetadata, hasRequestMetadataOnly, newInstance, refresh, refreshIfExpired, removeChangeListener

    Methods inherited from class com.google.auth.Credentials

    blockingGetToCallback, getMetricsCredentialType, getRequestMetadata

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AccessTokenProviderCredentials

      public AccessTokenProviderCredentials(AccessTokenProvider accessTokenProvider)
  • Method Details

    • getAccessTokenProvider

      public AccessTokenProvider getAccessTokenProvider()
    • refreshAccessToken

      public com.google.auth.oauth2.AccessToken refreshAccessToken() throws IOException
      Overrides:
      refreshAccessToken in class com.google.auth.oauth2.OAuth2Credentials
      Throws:
      IOException