Class 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
    Author:
    Yaniv Inbar
    • Field Detail

      • token

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

        public String verifier
        The verification code.
    • Constructor Detail

      • OAuthCallbackUrl

        public OAuthCallbackUrl​(String encodedUrl)