Share via


AuthenticationMiddleware<TOptions>.CreateHandler Method

Creates an authentication handler.

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

Syntax

'Declaration
Protected MustOverride Function CreateHandler As AuthenticationHandler(Of TOptions)
'Usage
Dim returnValue As AuthenticationHandler(Of TOptions)

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

Return Value

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

See Also

Reference

AuthenticationMiddleware<TOptions> Class

Microsoft.Owin.Security.Infrastructure Namespace