Class AuthorizationCodeResponseUrl (1.55.0)

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.

Inheritance

Object > AuthorizationCodeResponseUrl

Namespace

Google.Apis.Auth.OAuth2.Responses

Assembly

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
NameDescription
queryStringIDictionary<String, String>

AuthorizationCodeResponseUrl(String)

public AuthorizationCodeResponseUrl(string query)

Constructs a new authorization code response URL from the specified query string.

Parameter
NameDescription
queryString

Properties

AdditionalParameters

public IDictionary<string, string> AdditionalParameters { get; }

Contains any extra parameters in the authorization code response URL query string.

Property Value
TypeDescription
IDictionary<String, String>

Code

public string Code { get; set; }

Gets or sets the authorization code generated by the authorization server.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

State

public string State { get; set; }

Gets or sets the state parameter matching the state parameter in the authorization request.

Property Value
TypeDescription
String

Extension Method