OAuthMatchEndpointContext Class

 

Provides context information used when determining the OAuth flow type based on the 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.OAuthMatchEndpointContext

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod OAuthMatchEndpointContext(IOwinContext, OAuthAuthorizationServerOptions)

Initializes a new instance of the OAuthMatchEndpointContext class

Properties

Name Description
System_CAPS_pubproperty IsAuthorizeEndpoint

Gets whether or not the endpoint is an OAuth authorize endpoint.

System_CAPS_pubproperty IsRequestCompleted

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

System_CAPS_pubproperty IsTokenEndpoint

Gets whether or not the endpoint is an OAuth token endpoint.

System_CAPS_pubproperty Options

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty OwinContext

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty Request

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty Response

(Inherited from BaseContext<TOptions>.)

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 MatchesAuthorizeEndpoint()

Sets the endpoint type to authorize endpoint.

System_CAPS_pubmethod MatchesNothing()

Sets the endpoint type to neither authorize nor token.

System_CAPS_pubmethod MatchesTokenEndpoint()

Sets the endpoint type to token endpoint.

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