Share via


OAuthAuthorizationServerMiddleware.CreateHandler Method

Called by the AuthenticationMiddleware base class to create a per-request 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 OAuthAuthorizationServerOptions)
'Usage
Dim returnValue As AuthenticationHandler(Of OAuthAuthorizationServerOptions)

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

Return Value

Type: Microsoft.Owin.Security.Infrastructure.AuthenticationHandler<OAuthAuthorizationServerOptions>
A new instance of the request handler

See Also

Reference

OAuthAuthorizationServerMiddleware Class

Microsoft.Owin.Security.OAuth Namespace