public class AuthorizationCodeResponseUrl
Authorization Code response for the redirect URL after end user grants or denies authorization as specified in http://tools.ietf.org/html/rfc6749#section-4.1.2.
Check that Code is not null
or empty to verify the end-user granted authorization.
Namespace
Google.Apis.Auth.OAuth2.ResponsesAssembly
Google.Apis.Auth.dll
Constructors
AuthorizationCodeResponseUrl()
public AuthorizationCodeResponseUrl()
Constructs a new empty authorization code response URL.
AuthorizationCodeResponseUrl(IDictionary<String, String>)
public AuthorizationCodeResponseUrl(IDictionary<string, string> queryString)
Constructs a new authorization code response URL from the specified dictionary.
Parameter | |
---|---|
Name | Description |
queryString | IDictionary<String, String> |
AuthorizationCodeResponseUrl(String)
public AuthorizationCodeResponseUrl(string query)
Constructs a new authorization code response URL from the specified query string.
Parameter | |
---|---|
Name | Description |
query | String |
Properties
AdditionalParameters
public IDictionary<string, string> AdditionalParameters { get; }
Contains any extra parameters in the authorization code response URL query string.
Property Value | |
---|---|
Type | Description |
IDictionary<String, String> |
Code
public string Code { get; set; }
Gets or sets the authorization code generated by the authorization server.
Property Value | |
---|---|
Type | Description |
String |
Error
public string Error { get; set; }
Gets or sets the error code (e.g. "invalid_request", "unauthorized_client", "access_denied", "unsupported_response_type", "invalid_scope", "server_error", "temporarily_unavailable") as specified in http://tools.ietf.org/html/rfc6749#section-4.1.2.1.
Property Value | |
---|---|
Type | Description |
String |
ErrorDescription
public string ErrorDescription { get; set; }
Gets or sets the human-readable text which provides additional information used to assist the client developer in understanding the error occurred.
Property Value | |
---|---|
Type | Description |
String |
ErrorUri
public string ErrorUri { get; set; }
Gets or sets the URI identifying a human-readable web page with provides information about the error.
Property Value | |
---|---|
Type | Description |
String |
State
public string State { get; set; }
Gets or sets the state parameter matching the state parameter in the authorization request.
Property Value | |
---|---|
Type | Description |
String |