public static class AuthCredentials.ApplicationDefaultAuthCredentials extends AuthCredentials
AuthCredentials.AppEngineAuthCredentials, AuthCredentials.ApplicationDefaultAuthCredentials, AuthCredentials.NoAuthCredentials, AuthCredentials.ServiceAccountAuthCredentials| Modifier and Type | Method and Description |
|---|---|
RestorableState<AuthCredentials> |
capture()
Captures the state of this object.
|
com.google.auth.oauth2.GoogleCredentials |
credentials() |
createApplicationDefaults, createFor, createForAppEngine, createForJson, noAuthpublic com.google.auth.oauth2.GoogleCredentials credentials()
credentials in class AuthCredentialspublic RestorableState<AuthCredentials> capture()
RestorableRestorableState instance that contains the state for this object and can
restore it afterwards.Copyright © 2016 Google. All rights reserved.