OAuthTokenEndpointContext Class

 

Provides context information used when processing an OAuth token request.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.Provider.BaseContext<TOptions>
    Microsoft.Owin.Security.Provider.EndpointContext<TOptions>
      Microsoft.Owin.Security.OAuth.OAuthTokenEndpointContext

Syntax

public class OAuthTokenEndpointContext : EndpointContext<OAuthAuthorizationServerOptions>
public ref class OAuthTokenEndpointContext : EndpointContext<OAuthAuthorizationServerOptions^>
type OAuthTokenEndpointContext = 
    class
        inherit EndpointContext<OAuthAuthorizationServerOptions>
    end
Public Class OAuthTokenEndpointContext
    Inherits EndpointContext(Of OAuthAuthorizationServerOptions)

Constructors

Name Description
System_CAPS_pubmethod OAuthTokenEndpointContext(IOwinContext, OAuthAuthorizationServerOptions, AuthenticationTicket, TokenEndpointRequest)

Initializes a new instance of the OAuthTokenEndpointContext class

Properties

Name Description
System_CAPS_pubproperty AdditionalResponseParameters

Enables additional values to be appended to the token response.

System_CAPS_pubproperty Identity

Gets the identity of the resource owner.

System_CAPS_pubproperty IsRequestCompleted

True if the request should not be processed further by other components.(Inherited from EndpointContext<TOptions>.)

System_CAPS_pubproperty Options

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty OwinContext

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty Properties

Dictionary containing the state of the authentication session.

System_CAPS_pubproperty Request

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty Response

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty TokenEndpointRequest

Gets information about the token endpoint request.

System_CAPS_pubproperty TokenIssued

Gets whether or not the token should be issued.

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_pubmethod Issue(ClaimsIdentity, AuthenticationProperties)

Issues the token.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod RequestCompleted()

Prevents the request from being processed further by other components. IsRequestCompleted becomes true after calling.(Inherited from EndpointContext<TOptions>.)

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 Namespace

Return to top