Class OAuth2RefreshCredentialsHandler

java.lang.Object
org.apache.iceberg.gcp.gcs.OAuth2RefreshCredentialsHandler
All Implemented Interfaces:
com.google.auth.oauth2.OAuth2CredentialsWithRefresh.OAuth2RefreshHandler

public class OAuth2RefreshCredentialsHandler extends Object implements com.google.auth.oauth2.OAuth2CredentialsWithRefresh.OAuth2RefreshHandler
  • Method Details

    • refreshAccessToken

      public com.google.auth.oauth2.AccessToken refreshAccessToken()
      Specified by:
      refreshAccessToken in interface com.google.auth.oauth2.OAuth2CredentialsWithRefresh.OAuth2RefreshHandler
    • create

      public static OAuth2RefreshCredentialsHandler create(Map<String,String> properties)