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
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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 |
---|---|
System.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 |
---|---|
System.String |