public static class AuthCredentials.AppEngineAuthCredentials extends AuthCredentials implements ServiceAccountSigner
AuthCredentials.AppEngineAuthCredentials, AuthCredentials.ApplicationDefaultAuthCredentials, AuthCredentials.NoAuthCredentials, AuthCredentials.ServiceAccountAuthCredentialsServiceAccountSigner.SigningException| Constructor and Description |
|---|
AuthCredentials.AppEngineAuthCredentials() |
| Modifier and Type | Method and Description |
|---|---|
String |
account()
Returns the service account associated with the signer.
|
RestorableState<AuthCredentials> |
capture()
Captures the state of this object.
|
com.google.cloud.AuthCredentials.AppEngineAuthCredentials.AppEngineCredentials |
credentials() |
byte[] |
sign(byte[] toSign)
Signs the provided bytes using the private key associated with the service account.
|
createApplicationDefaults, createFor, createForAppEngine, createForJson, noAuthpublic AuthCredentials.AppEngineAuthCredentials()
public com.google.cloud.AuthCredentials.AppEngineAuthCredentials.AppEngineCredentials credentials()
credentials in class AuthCredentialspublic RestorableState<AuthCredentials> capture()
Restorablecapture in interface Restorable<AuthCredentials>RestorableState instance that contains the state for this object and can
restore it afterwards.public String account()
ServiceAccountSigneraccount in interface ServiceAccountSignerpublic byte[] sign(byte[] toSign)
ServiceAccountSignersign in interface ServiceAccountSignertoSign - bytes to signCopyright © 2016 Google. All rights reserved.