Class OAuthCallbackUrl (1.36.0)

public class OAuthCallbackUrl extends 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.

Inheritance

java.lang.Object > java.util.AbstractMap > com.google.api.client.util.GenericData > com.google.api.client.http.GenericUrl > OAuthCallbackUrl

Constructors

OAuthCallbackUrl(String encodedUrl)

public OAuthCallbackUrl(String encodedUrl)
Parameter
Name Description
encodedUrl String

Fields

token

public String token

The temporary credentials identifier received from the client.

Field Value
Type Description
String

verifier

public String verifier

The verification code.

Field Value
Type Description
String