2.9.3 (latest) 2.9.2 2.8.1 2.7.2 2.6.0 2.5.1 2.4.1 2.1.2 2.0.1 1.35.2 1.34.1 1.33.4 Google App Engine utilities for OAuth 2.0 for Google APIs.

## Classes

### [AppIdentityCredential](https://docs.cloud.google.com/java/docs/reference/google-api-client/latest/com.google.api.client.googleapis.extensions.appengine.auth.oauth2.AppIdentityCredential.md.txt)

OAuth 2.0 credential in which a client Google App Engine application needs to access data that it
owns, based on \<a href="<https://developers.google.com/appengine/docs/java/appidentity/>

# Java_Asserting_identity_to_Google_APIs"\>Asserting Identity to Google APIs

Intercepts the request by using the access token obtained from AppIdentityService#getAccessToken(Iterable).

Sample usage:

```java

 public static HttpRequestFactory createRequestFactory(HttpTransport transport,
     JsonFactory jsonFactory, TokenResponse tokenResponse) {
   return transport.createRequestFactory(
   new AppIdentityCredential("https://www.googleapis.com/auth/urlshortener"));
 }
 
```

Implementation is immutable and thread-safe.

### [AppIdentityCredential.AppEngineCredentialWrapper](https://docs.cloud.google.com/java/docs/reference/google-api-client/latest/com.google.api.client.googleapis.extensions.appengine.auth.oauth2.AppIdentityCredential.AppEngineCredentialWrapper.md.txt)

Beta   

Credential wrapper for application identity that inherits from GoogleCredential.

### [AppIdentityCredential.Builder](https://docs.cloud.google.com/java/docs/reference/google-api-client/latest/com.google.api.client.googleapis.extensions.appengine.auth.oauth2.AppIdentityCredential.Builder.md.txt)

Builder for [AppIdentityCredential](https://docs.cloud.google.com/java/docs/reference/google-api-client/latest/com.google.api.client.googleapis.extensions.appengine.auth.oauth2.AppIdentityCredential.md.txt).

Implementation is not thread-safe.