Class OAuthCallbackUrl

java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.http.GenericUrl
com.google.api.client.auth.oauth.OAuthCallbackUrl
All Implemented Interfaces:
Cloneable, Map<String,Object>

@Beta public class OAuthCallbackUrl extends com.google.api.client.http.GenericUrl
Beta
Generic URL that parses the callback URL after a temporary token has been authorized by the end user.

The verifier is required in order to exchange the authorized temporary token for a long-lived access token in OAuthGetAccessToken.verifier.

Since:
1.0
  • Field Details

    • token

      public String token
      The temporary credentials identifier received from the client.
    • verifier

      public String verifier
      The verification code.
  • Constructor Details

    • OAuthCallbackUrl

      public OAuthCallbackUrl(String encodedUrl)