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 | |
---|---|---|
TokenEndpointRequest(IReadableStringCollection) | Creates a new instance populated with values from the form encoded body parameters. |
Properties
Name | Description | |
---|---|---|
AuthorizationCodeGrant | Data object available when the "grant_type" is "authorization_code". See also http://tools.ietf.org/html/rfc6749#section-4.1.3 |
|
ClientCredentialsGrant | Data object available when the "grant_type" is "client_credentials". See also http://tools.ietf.org/html/rfc6749#section-4.4.2 |
|
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. |
|
CustomExtensionGrant | Data object available when the "grant_type" is unrecognized. See also http://tools.ietf.org/html/rfc6749#section-4.5 |
|
GrantType | The "grant_type" parameter of the Token endpoint request. This parameter is required. |
|
IsAuthorizationCodeGrantType | True when the "grant_type" is "authorization_code". See also http://tools.ietf.org/html/rfc6749#section-4.1.3 |
|
IsClientCredentialsGrantType | True when the "grant_type" is "client_credentials". See also http://tools.ietf.org/html/rfc6749#section-4.4.2 |
|
IsCustomExtensionGrantType | True when the "grant_type" is unrecognized. See also http://tools.ietf.org/html/rfc6749#section-4.5 |
|
IsRefreshTokenGrantType | True when the "grant_type" is "refresh_token". See also http://tools.ietf.org/html/rfc6749#section-6 |
|
IsResourceOwnerPasswordCredentialsGrantType | True when the "grant_type" is "password". See also http://tools.ietf.org/html/rfc6749#section-4.3.2 |
|
Parameters | The form encoded body parameters of the Token endpoint request |
|
RefreshTokenGrant | Data object available when the "grant_type" is "refresh_token". See also http://tools.ietf.org/html/rfc6749#section-6 |
|
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 | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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