Class MutableCredentials (2.41.0)
Stay organized with collections
Save and categorize content based on your preferences.
public class MutableCredentials extends Credentials
Inherited Members
com.google.auth.Credentials.blockingGetToCallback(java.net.URI,com.google.auth.RequestMetadataCallback)
com.google.auth.Credentials.getAuthenticationType()
com.google.auth.Credentials.getMetricsCredentialType()
com.google.auth.Credentials.getRequestMetadata()
com.google.auth.Credentials.getRequestMetadata(java.net.URI)
com.google.auth.Credentials.getRequestMetadata(java.net.URI,java.util.concurrent.Executor,com.google.auth.RequestMetadataCallback)
com.google.auth.Credentials.getUniverseDomain()
com.google.auth.Credentials.hasRequestMetadata()
com.google.auth.Credentials.hasRequestMetadataOnly()
com.google.auth.Credentials.refresh()
Constructors
MutableCredentials(ServiceAccountCredentials arg0)
public MutableCredentials(ServiceAccountCredentials arg0)
| Parameter |
| Name |
Description |
arg0 |
com.google.auth.oauth2.ServiceAccountCredentials
|
MutableCredentials(ServiceAccountCredentials arg0, Set<String> arg1)
public MutableCredentials(ServiceAccountCredentials arg0, Set<String> arg1)
| Parameters |
| Name |
Description |
arg0 |
com.google.auth.oauth2.ServiceAccountCredentials
|
arg1 |
Set<String>
|
Methods
getAuthenticationType()
public String getAuthenticationType()
| Returns |
| Type |
Description |
String |
|
Overrides
com.google.auth.Credentials.getAuthenticationType()
getMetricsCredentialType()
public CredentialTypeForMetrics getMetricsCredentialType()
| Returns |
| Type |
Description |
com.google.auth.CredentialTypeForMetrics |
|
Overrides
com.google.auth.Credentials.getMetricsCredentialType()
public Map<String,List<String>> getRequestMetadata(URI arg0)
| Parameter |
| Name |
Description |
arg0 |
URI
|
Overrides
com.google.auth.Credentials.getRequestMetadata(java.net.URI)
public void getRequestMetadata(URI arg0, Executor arg1, RequestMetadataCallback arg2)
| Parameters |
| Name |
Description |
arg0 |
URI
|
arg1 |
Executor
|
arg2 |
com.google.auth.RequestMetadataCallback
|
Overrides
com.google.auth.Credentials.getRequestMetadata(java.net.URI,java.util.concurrent.Executor,com.google.auth.RequestMetadataCallback)
getUniverseDomain()
public String getUniverseDomain()
| Returns |
| Type |
Description |
String |
|
Overrides
com.google.auth.Credentials.getUniverseDomain()
public boolean hasRequestMetadata()
Overrides
com.google.auth.Credentials.hasRequestMetadata()
public boolean hasRequestMetadataOnly()
Overrides
com.google.auth.Credentials.hasRequestMetadataOnly()
refresh()
Overrides
com.google.auth.Credentials.refresh()
updateCredentials(ServiceAccountCredentials arg0)
public void updateCredentials(ServiceAccountCredentials arg0)
| Parameter |
| Name |
Description |
arg0 |
com.google.auth.oauth2.ServiceAccountCredentials
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-31 UTC.
[null,null,["Last updated 2026-07-31 UTC."],[],[]]