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
System.Object
AuthorizationCodeResponseUrl
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.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
System.Collections.Generic.IDictionary<System.String, System.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
System.String query

Properties

Code

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

Declaration
public string Code { get; set; }
Property Value
Type Description
System.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
System.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
System.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
System.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
System.String
Back to top