A C F G H I O R S U 

A

AccessToken - Class in com.google.auth.oauth2
Represents a temporary OAuth2 access token and its expiration information.
AccessToken(String, Date) - Constructor for class com.google.auth.oauth2.AccessToken
 

C

com.google.auth.http - package com.google.auth.http
 
com.google.auth.oauth2 - package com.google.auth.oauth2
 
ComputeEngineCredentials - Class in com.google.auth.oauth2
OAuth2 credentials representing the built-in service account for a Google Compute Engine VM.
ComputeEngineCredentials() - Constructor for class com.google.auth.oauth2.ComputeEngineCredentials
Constructor with minimum information and default behavior.
ComputeEngineCredentials(HttpTransport) - Constructor for class com.google.auth.oauth2.ComputeEngineCredentials
Constructor with overridden transport.
createScoped(Collection<String>) - Method in class com.google.auth.oauth2.GoogleCredentials
If the credentials support scopes, create a copy of the the idenitity with the specified scopes, otherwise returns the same instance.
createScoped(Collection<String>) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
Clones the service account with the specified scopes.
createScopedRequired() - Method in class com.google.auth.oauth2.GoogleCredentials
Indicates whether the credentials require scopes to be specified via a call to {link GoogleCredentials#createScoped} before use.
createScopedRequired() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
Returns whther the scopes are empty, meaning createScoped must be called before use.

F

fromPkcs8(String, String, String, String, Collection<String>) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
Factory with miniumum identifying information using PKCS#8 for the private key.
fromPkcs8(String, String, String, String, Collection<String>, HttpTransport) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
Factory with miniumum identifying information and custom transport using PKCS#8 for the private key.
fromStream(InputStream) - Static method in class com.google.auth.oauth2.GoogleCredentials
Returns credentials defined by a JSON file stream.
fromStream(InputStream, HttpTransport) - Static method in class com.google.auth.oauth2.GoogleCredentials
Returns credentials defined by a JSON file stream.

G

getApplicationDefault() - Static method in class com.google.auth.oauth2.GoogleCredentials
Returns the Application Default Credentials.
getApplicationDefault(HttpTransport) - Static method in class com.google.auth.oauth2.GoogleCredentials
Returns the Application Default Credentials.
getAuthenticationType() - Method in class com.google.auth.oauth2.OAuth2Credentials
 
getClientEmail() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
 
getClientId() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
 
getExpirationTime() - Method in class com.google.auth.oauth2.AccessToken
Time when access token will expire.
getPrivateKey() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
 
getPrivateKeyId() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
 
getRequestMetadata() - Method in class com.google.auth.oauth2.OAuth2Credentials
Provide the request metadata by ensuring there is a current access token and providing it as an authorization bearer token.
getScopes() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
 
getTokenValue() - Method in class com.google.auth.oauth2.AccessToken
String representation of the access token.
GoogleCredentials - Class in com.google.auth.oauth2
Base type for credentials for authorizing calls to Google APIs using OAuth2.
GoogleCredentials() - Constructor for class com.google.auth.oauth2.GoogleCredentials
 

H

hasRequestMetadata() - Method in class com.google.auth.oauth2.OAuth2Credentials
 
hasRequestMetadataOnly() - Method in class com.google.auth.oauth2.OAuth2Credentials
 
HttpCredentialsAdapter - Class in com.google.auth.http
A wrapper for using Credentials with the Google API Client Libraries for Java with Http.
HttpCredentialsAdapter(Credentials) - Constructor for class com.google.auth.http.HttpCredentialsAdapter
 

I

initialize(HttpRequest) - Method in class com.google.auth.http.HttpCredentialsAdapter
Initialize the HTTP request prior to execution.

O

OAuth2Credentials - Class in com.google.auth.oauth2
Base type for Credentials using OAuth2.
OAuth2Credentials() - Constructor for class com.google.auth.oauth2.OAuth2Credentials
 

R

refresh() - Method in class com.google.auth.oauth2.OAuth2Credentials
Refresh the token by discarding the cached token and metadata.
refreshAccessToken() - Method in class com.google.auth.oauth2.ComputeEngineCredentials
Refresh the access token by getting it from the GCE metadata server
refreshAccessToken() - Method in class com.google.auth.oauth2.OAuth2Credentials
Abstract method to refresh the access token according to the specific type of credentials.
refreshAccessToken() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
Refreshes the OAuth2 access token by getting a new access token using a JSON Web Token (JWT).
refreshAccessToken() - Method in class com.google.auth.oauth2.UserCredentials
Refreshes the OAuth2 acces token by getting a new access token from the refresh token

S

ServiceAccountCredentials - Class in com.google.auth.oauth2
OAuth2 credentials representing a Service Account for calling Google APIs.
ServiceAccountCredentials(String, String, PrivateKey, String, Collection<String>) - Constructor for class com.google.auth.oauth2.ServiceAccountCredentials
Constructor with minimum identifying information.
ServiceAccountCredentials(String, String, PrivateKey, String, Collection<String>, HttpTransport) - Constructor for class com.google.auth.oauth2.ServiceAccountCredentials
Constructor with minimum identifying information and custom HTTP transport.

U

UserCredentials - Class in com.google.auth.oauth2
OAuth2 Credentials representing a user's identity and consent.
UserCredentials(String, String, String) - Constructor for class com.google.auth.oauth2.UserCredentials
Constructor with minimum information and default behavior.
UserCredentials(String, String, String, HttpTransport) - Constructor for class com.google.auth.oauth2.UserCredentials
Constructor allow override of transport for getting access tokens.
UserCredentials(String, String, String, HttpTransport, GenericUrl) - Constructor for class com.google.auth.oauth2.UserCredentials
Constructor allowing override of transport and URL for getting access tokens.
A C F G H I O R S U 

Copyright © 2015 Google. All rights reserved.