public class TokenRequest
OAuth 2.0 request for an access token as specified in http://tools.ietf.org/html/rfc6749#section-4.
Namespace
GoogleApisAuthOAuth2RequestsAssembly
Google.Apis.Auth.dll
Properties
ClientId
[RequestParameter("client_id")]
public string ClientId { get; set; }
Gets or sets the client Identifier.
Property Value | |
---|---|
Type | Description |
string |
ClientSecret
[RequestParameter("client_secret")]
public string ClientSecret { get; set; }
Gets or sets the client Secret.
Property Value | |
---|---|
Type | Description |
string |
GrantType
[RequestParameter("grant_type")]
public string GrantType { get; set; }
Gets or sets the Grant type. Sets authorization_code
or password
or client_credentials
or refresh_token
or absolute URI of the extension grant type.
Property Value | |
---|---|
Type | Description |
string |
Scope
[RequestParameter("scope")]
public string Scope { get; set; }
Gets or sets space-separated list of scopes as specified in http://tools.ietf.org/html/rfc6749#section-3.3.
Property Value | |
---|---|
Type | Description |
string |