Class AuthorizationCodeTokenRequest
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.
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Auth.OAuth2.Requests
Assembly: Google.Apis.Auth.dll
Syntax
public class AuthorizationCodeTokenRequest : TokenRequest
Constructors
AuthorizationCodeTokenRequest()
Constructs a new authorization code token request and sets grant_type to authorization_code.
Declaration
public AuthorizationCodeTokenRequest()
Properties
Code
Gets or sets the authorization code received from the authorization server.
Declaration
[RequestParameter("code")]
public string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RedirectUri
Gets or sets the redirect URI parameter matching the redirect URI parameter in the authorization request.
Declaration
[RequestParameter("redirect_uri")]
public string RedirectUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |