Show / Hide Table of Contents

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
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.Responses
Assembly: Google.Apis.Auth.dll
Syntax
public class AuthorizationCodeResponseUrl

Constructors

AuthorizationCodeResponseUrl()

Constructs a new empty authorization code response URL.

Declaration
public AuthorizationCodeResponseUrl()

AuthorizationCodeResponseUrl(IDictionary<string, string>)

Constructs a new authorization code response URL from the specified dictionary.

Declaration
public AuthorizationCodeResponseUrl(IDictionary<string, string> queryString)
Parameters
Type Name Description
IDictionary<string, string> queryString

AuthorizationCodeResponseUrl(string)

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

Declaration
public AuthorizationCodeResponseUrl(string query)
Parameters
Type Name Description
string query

Properties

AdditionalParameters

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

Declaration
public IDictionary<string, string> AdditionalParameters { get; }
Property Value
Type Description
IDictionary<string, string>

Code

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

Declaration
public string Code { get; set; }
Property Value
Type Description
string

Error

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.

Declaration
public string Error { get; set; }
Property Value
Type Description
string

ErrorDescription

Gets or sets the human-readable text which provides additional information used to assist the client developer in understanding the error occurred.

Declaration
public string ErrorDescription { get; set; }
Property Value
Type Description
string

ErrorUri

Gets or sets the URI identifying a human-readable web page with provides information about the error.

Declaration
public string ErrorUri { get; set; }
Property Value
Type Description
string

State

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

Declaration
public string State { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX