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 | |
---|---|---|
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 | |
---|---|---|
Next | The optional next component.(Inherited from OwinMiddleware.) |
|
Options | Gets or sets the authentication options.(Inherited from AuthenticationMiddleware<TOptions>.) |
Methods
Name | Description | |
---|---|---|
CreateHandler() | Called by the AuthenticationMiddleware base class to create a per-request handler.(Overrides AuthenticationMiddleware<TOptions>.CreateHandler().) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
Invoke(IOwinContext) | (Inherited from AuthenticationMiddleware<TOptions>.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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