Compartir a través de


OAuthAuthorizeEndpointContext Class

 

An event raised after the Authorization Server has processed the request, but before it is passed on to the web application. Calling RequestCompleted will prevent the request from passing on to the web application.

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.OAuthAuthorizeEndpointContext

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod OAuthAuthorizeEndpointContext(IOwinContext, OAuthAuthorizationServerOptions, AuthorizeEndpointRequest)

Creates an instance of this context

Properties

Name Description
System_CAPS_pubproperty AuthorizeRequest

Gets OAuth authorization request data.

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 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_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