Поделиться через


OAuthAuthorizationServerMiddleware Class

 

Authorization Server middleware component which is added to an OWIN pipeline. This class is not created by application code directly, instead it is added by calling the the IAppBuilder UseOAuthAuthorizationServer extension method.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.OwinMiddleware
    Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware<TOptions>
      Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerMiddleware

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod OAuthAuthorizationServerMiddleware(OwinMiddleware, IAppBuilder, OAuthAuthorizationServerOptions)

Authorization Server middleware component which is added to an OWIN pipeline. This constructor is not called by application code directly, instead it is added by calling the the IAppBuilder UseOAuthAuthorizationServer extension method.

Properties

Name Description
System_CAPS_protproperty Next

The optional next component.(Inherited from OwinMiddleware.)

System_CAPS_pubproperty Options

Gets or sets the authentication options.(Inherited from AuthenticationMiddleware<TOptions>.)

Methods

Name Description
System_CAPS_protmethod CreateHandler()

Called by the AuthenticationMiddleware base class to create a per-request handler.(Overrides AuthenticationMiddleware<TOptions>.CreateHandler().)

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 Invoke(IOwinContext)

(Inherited from AuthenticationMiddleware<TOptions>.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

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