Share via


AuthorizeEndpointRequest Class

 

Data object representing the information contained in the query string of an Authorize endpoint request.

Namespace:   Microsoft.Owin.Security.OAuth.Messages
Assembly:  Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.OAuth.Messages.AuthorizeEndpointRequest

Syntax

public class AuthorizeEndpointRequest
public ref class AuthorizeEndpointRequest 
type AuthorizeEndpointRequest = class end
Public Class AuthorizeEndpointRequest

Constructors

Name Description
System_CAPS_pubmethod AuthorizeEndpointRequest(IReadableStringCollection)

Creates a new instance populated with values from the query string parameters.

Properties

Name Description
System_CAPS_pubproperty ClientId

The "client_id" query string parameter of the Authorize request.

System_CAPS_pubproperty IsAuthorizationCodeGrantType

True if the "response_type" query string parameter is "code". See also, http://tools.ietf.org/html/rfc6749#section-4.1.1

System_CAPS_pubproperty IsFormPostResponseMode

System_CAPS_pubproperty IsImplicitGrantType

True if the "response_type" query string parameter is "token". See also, http://tools.ietf.org/html/rfc6749#section-4.2.1

System_CAPS_pubproperty RedirectUri

The "redirect_uri" query string parameter of the Authorize request. May be absent if the server should use the redirect uri known to be registered to the client id.

System_CAPS_pubproperty ResponseMode

The "response_mode" query string parameter of the Authorize request. Known values are "query", "fragment" and "form_post" See also, http://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html

System_CAPS_pubproperty ResponseType

The "response_type" query string parameter of the Authorize request. Known values are "code" and "token".

System_CAPS_pubproperty Scope

The "scope" query string parameter of the Authorize request. May be absent if the server should use default scopes.

System_CAPS_pubproperty State

The "scope" query string parameter of the Authorize request. May be absent if the client does not require state to be included when returning to the RedirectUri.

Methods

Name Description
System_CAPS_pubmethod ContainsGrantType(String)

True if the "response_type" query string contains the passed responseType. See also, http://openid.net/specs/oauth-v2-multiple-response-types-1_0.html

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin.Security.OAuth.Messages Namespace

Return to top