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.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class OAuthAuthorizationServerMiddleware _
    Inherits AuthenticationMiddleware(Of OAuthAuthorizationServerOptions)
'Usage
Dim instance As OAuthAuthorizationServerMiddleware
public class OAuthAuthorizationServerMiddleware : AuthenticationMiddleware<OAuthAuthorizationServerOptions>
public ref class OAuthAuthorizationServerMiddleware : public AuthenticationMiddleware<OAuthAuthorizationServerOptions^>
type OAuthAuthorizationServerMiddleware =  
    class 
        inherit AuthenticationMiddleware<OAuthAuthorizationServerOptions>
    end
public class OAuthAuthorizationServerMiddleware extends AuthenticationMiddleware<OAuthAuthorizationServerOptions>

The OAuthAuthorizationServerMiddleware type exposes the following members.

Constructors

  Name Description
Public method OAuthAuthorizationServerMiddleware 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.

Top

Properties

  Name Description
Protected property Next Advances to the next OwinMiddleware instance. (Inherited from OwinMiddleware.)
Public property Options Gets or sets the authentication options. (Inherited from AuthenticationMiddleware<TOptions>.)

Top

Methods

  Name Description
Protected method CreateHandler Called by the AuthenticationMiddleware base class to create a per-request handler. (Overrides AuthenticationMiddleware<TOptions>.CreateHandler().)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Invoke (Inherited from AuthenticationMiddleware<TOptions>.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.Owin.Security.OAuth Namespace