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 Summary

      Fields 
      Modifier and Type Field Description
      String token
      The temporary credentials identifier received from the client.
      String verifier
      The verification code.
    • Method Summary

      • Methods inherited from class com.google.api.client.http.GenericUrl

        appendRawPath, build, buildAuthority, buildRelativeUrl, clone, equals, getAll, getFirst, getFragment, getHost, getPathParts, getPort, getRawPath, getScheme, getUserInfo, hashCode, set, setFragment, setHost, setPathParts, setPort, setRawPath, setScheme, setUserInfo, toPathParts, toString, toURI, toURL, toURL
      • Methods inherited from class com.google.api.client.util.GenericData

        entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
    • 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)