OAuthBearerAuthenticationMiddleware Class

Provides middleware for OAuth bearer authentication.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.OwinMiddleware
    Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware<OAuthBearerAuthenticationOptions>
      Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationMiddleware

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

Syntax

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

The OAuthBearerAuthenticationMiddleware type exposes the following members.

Constructors

  Name Description
Public method OAuthBearerAuthenticationMiddleware Initializes a new instance of the OAuthBearerAuthenticationMiddleware class.

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 Creates an authentication 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