Package org.apache.iceberg.gcp.gcs
Class OAuth2RefreshCredentialsHandler
- java.lang.Object
-
- org.apache.iceberg.gcp.gcs.OAuth2RefreshCredentialsHandler
-
- All Implemented Interfaces:
com.google.auth.oauth2.OAuth2CredentialsWithRefresh.OAuth2RefreshHandler
public class OAuth2RefreshCredentialsHandler extends java.lang.Object implements com.google.auth.oauth2.OAuth2CredentialsWithRefresh.OAuth2RefreshHandler
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OAuth2RefreshCredentialsHandler
create(java.util.Map<java.lang.String,java.lang.String> properties)
com.google.auth.oauth2.AccessToken
refreshAccessToken()
-
-
-
Method Detail
-
refreshAccessToken
public com.google.auth.oauth2.AccessToken refreshAccessToken()
- Specified by:
refreshAccessToken
in interfacecom.google.auth.oauth2.OAuth2CredentialsWithRefresh.OAuth2RefreshHandler
-
create
public static OAuth2RefreshCredentialsHandler create(java.util.Map<java.lang.String,java.lang.String> properties)
-
-