Class AuthorizationCodeTokenRequest (1.55.0)

public class AuthorizationCodeTokenRequest : TokenRequest

OAuth 2.0 request for an access token using an authorization code as specified in http://tools.ietf.org/html/rfc6749#section-4.1.3.

Inheritance

Object > TokenRequest > AuthorizationCodeTokenRequest

Namespace

Google.Apis.Auth.OAuth2.Requests

Assembly

Google.Apis.Auth.dll

Constructors

AuthorizationCodeTokenRequest()

public AuthorizationCodeTokenRequest()

Constructs a new authorization code token request and sets grant_type to authorization_code.

Properties

Code

[RequestParameter("code")]
public string Code { get; set; }

Gets or sets the authorization code received from the authorization server.

Property Value
TypeDescription
String

RedirectUri

[RequestParameter("redirect_uri")]
public string RedirectUri { get; set; }

Gets or sets the redirect URI parameter matching the redirect URI parameter in the authorization request.

Property Value
TypeDescription
String

Extension Methods