Share via


OAuthBearerAuthenticationMiddleware.CreateHandler Method

Creates an authentication handler.

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

Syntax

'Declaration
Protected Overrides Function CreateHandler As AuthenticationHandler(Of OAuthBearerAuthenticationOptions)
'Usage
Dim returnValue As AuthenticationHandler(Of OAuthBearerAuthenticationOptions)

returnValue = Me.CreateHandler()
protected override AuthenticationHandler<OAuthBearerAuthenticationOptions> CreateHandler()
protected:
virtual AuthenticationHandler<OAuthBearerAuthenticationOptions^>^ CreateHandler() override
abstract CreateHandler : unit -> AuthenticationHandler<OAuthBearerAuthenticationOptions> 
override CreateHandler : unit -> AuthenticationHandler<OAuthBearerAuthenticationOptions> 
protected override function CreateHandler() : AuthenticationHandler<OAuthBearerAuthenticationOptions>

Return Value

Type: Microsoft.Owin.Security.Infrastructure.AuthenticationHandler<OAuthBearerAuthenticationOptions>
The created AuthenticationHandler<TOptions>.

See Also

Reference

OAuthBearerAuthenticationMiddleware Class

Microsoft.Owin.Security.OAuth Namespace