Application Integration API . callback

Instance Methods

close()

Close httplib2 connections.

generateToken(code=None, gcpProjectId=None, product=None, redirectUri=None, state=None, x__xgafv=None)

Receives the auth code and auth config id to combine that with the client id and secret to retrieve access tokens from the token endpoint. Returns either a success or error message when it's done.

Method Details

close()
Close httplib2 connections.
generateToken(code=None, gcpProjectId=None, product=None, redirectUri=None, state=None, x__xgafv=None)
Receives the auth code and auth config id to combine that with the client id and secret to retrieve access tokens from the token endpoint. Returns either a success or error message when it's done.

Args:
  code: string, The auth code for the given request
  gcpProjectId: string, The gcp project id of the request
  product: string, Which product sends the request
    Allowed values
      UNSPECIFIED_PRODUCT - 
      IP - 
      APIGEE - 
      SECURITY - 
  redirectUri: string, Redirect uri of the auth code request
  state: string, The auth config id for the given request
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Returns success or error message
  "message": "A String", # The message that notifies the user if the request succeeded or not.
}