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.
Namespace
Google.Apis.Auth.OAuth2.RequestsAssembly
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 |