OpenIdConnectAuthenticationMiddleware.CreateHandler Method

Provides the AuthenticationHandler object for processing authentication-related requests.

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

Syntax

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

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

Return Value

Type: Microsoft.Owin.Security.Infrastructure.AuthenticationHandler<OpenIdConnectAuthenticationOptions>
An AuthenticationHandler configured with the OpenIdConnectAuthenticationOptions supplied to the constructor.

See Also

Reference

OpenIdConnectAuthenticationMiddleware Class

Microsoft.Owin.Security.OpenIdConnect Namespace