com.google.api.client.googleapis.extensions.appengine.auth.helpers
Class GoogleAppAssertionFlow
java.lang.Object
com.google.api.client.extensions.appengine.auth.helpers.AppAssertionFlow
com.google.api.client.googleapis.extensions.appengine.auth.helpers.GoogleAppAssertionFlow
- All Implemented Interfaces:
- TwoLeggedFlow
public class GoogleAppAssertionFlow
- extends AppAssertionFlow
Specialization of AppAssertionFlow with the endpoint and audience filled in for accessing
Google APIs.
Upgrade warning: in prior version this class extended
AppAssertionFlow but as of
version 1.6 it now extends AppAssertionFlow, which is a drop-in replacement.
- Since:
- 1.5
- Author:
- moshenko@google.com (Jacob Moshenko)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GoogleAppAssertionFlow
public GoogleAppAssertionFlow(String robotName,
String scope,
HttpTransport transport,
JsonFactory jsonFactory)
- Create an instance of
AppAssertionFlow that is specialized for communicating with
Google APIs.
- Parameters:
robotName - Identifier that will eventually become the primary key for the credential
object created by this flow. This is usually the application's identifier.scope - OAuth scope for which we are requesting access.transport - Instance that we will use for network communication.jsonFactory - Instance that we will use to deserialize responses from the auth server.
Copyright © 2010-2011 Google. All Rights Reserved.