Class AuthorizationCodeTokenRequest (1.60.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

GoogleApisAuthOAuth2Requests

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
Type Description
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
Type Description
string

Extension Methods