Udostępnij za pośrednictwem


OAuthTokenEndpointResponseContext Class

 

Provides context information used at the end of a token-endpoint-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.OAuthTokenEndpointResponseContext

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod OAuthTokenEndpointResponseContext(IOwinContext, OAuthAuthorizationServerOptions, AuthenticationTicket, TokenEndpointRequest, String, IDictionary<String, Object>)

Initializes a new instance of the OAuthTokenEndpointResponseContext class

Properties

Name Description
System_CAPS_pubproperty AccessToken

The issued Access-Token

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