Share via


OAuthBearerAuthenticationMiddleware Class

 

Bearer authentication 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 UseOAuthBearerAuthentication 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.OAuthBearerAuthenticationMiddleware

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod OAuthBearerAuthenticationMiddleware(OwinMiddleware, IAppBuilder, OAuthBearerAuthenticationOptions)

Bearer authentication 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 UseOAuthBearerAuthentication 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