public static class GcpOptions.GcpUserCredentialsFactory extends Object implements DefaultValueFactory<com.google.api.client.auth.oauth2.Credential>
CredentialFactory.getCredential() for more details.| Constructor and Description |
|---|
GcpUserCredentialsFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.auth.oauth2.Credential |
create(PipelineOptions options)
Creates a default value for a getter marked with
Default.InstanceFactory. |
public com.google.api.client.auth.oauth2.Credential create(PipelineOptions options)
DefaultValueFactoryDefault.InstanceFactory.create in interface DefaultValueFactory<com.google.api.client.auth.oauth2.Credential>options - The current pipeline options.