TokenEndpointRequest Class

 

Data object representing the information contained in form encoded body of a Token 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.TokenEndpointRequest

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod TokenEndpointRequest(IReadableStringCollection)

Creates a new instance populated with values from the form encoded body parameters.

Properties

Name Description
System_CAPS_pubproperty AuthorizationCodeGrant

Data object available when the "grant_type" is "authorization_code". See also http://tools.ietf.org/html/rfc6749#section-4.1.3

System_CAPS_pubproperty ClientCredentialsGrant

Data object available when the "grant_type" is "client_credentials". See also http://tools.ietf.org/html/rfc6749#section-4.4.2

System_CAPS_pubproperty ClientId

The "client_id" parameter of the Token endpoint request. This parameter is optional. It might not be present if the request is authenticated in a different way, for example, by using basic authentication credentials.

System_CAPS_pubproperty CustomExtensionGrant

Data object available when the "grant_type" is unrecognized. See also http://tools.ietf.org/html/rfc6749#section-4.5

System_CAPS_pubproperty GrantType

The "grant_type" parameter of the Token endpoint request. This parameter is required.

System_CAPS_pubproperty IsAuthorizationCodeGrantType

True when the "grant_type" is "authorization_code". See also http://tools.ietf.org/html/rfc6749#section-4.1.3

System_CAPS_pubproperty IsClientCredentialsGrantType

True when the "grant_type" is "client_credentials". See also http://tools.ietf.org/html/rfc6749#section-4.4.2

System_CAPS_pubproperty IsCustomExtensionGrantType

True when the "grant_type" is unrecognized. See also http://tools.ietf.org/html/rfc6749#section-4.5

System_CAPS_pubproperty IsRefreshTokenGrantType

True when the "grant_type" is "refresh_token". See also http://tools.ietf.org/html/rfc6749#section-6

System_CAPS_pubproperty IsResourceOwnerPasswordCredentialsGrantType

True when the "grant_type" is "password". See also http://tools.ietf.org/html/rfc6749#section-4.3.2

System_CAPS_pubproperty Parameters

The form encoded body parameters of the Token endpoint request

System_CAPS_pubproperty RefreshTokenGrant

Data object available when the "grant_type" is "refresh_token". See also http://tools.ietf.org/html/rfc6749#section-6

System_CAPS_pubproperty ResourceOwnerPasswordCredentialsGrant

Data object available when the "grant_type" is "password". See also http://tools.ietf.org/html/rfc6749#section-4.3.2

Methods

Name Description
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