Class OAuthCallbackUrl

  • All Implemented Interfaces:
    java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.api.client.util.GenericData

        com.google.api.client.util.GenericData.Flags
      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

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

      Constructors 
      Constructor Description
      OAuthCallbackUrl​(java.lang.String encodedUrl)  
    • 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
      • Methods inherited from class java.util.AbstractMap

        clear, containsKey, containsValue, isEmpty, keySet, size, values
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Field Detail

      • token

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

        public java.lang.String verifier
        The verification code.
    • Constructor Detail

      • OAuthCallbackUrl

        public OAuthCallbackUrl​(java.lang.String encodedUrl)