Share via


MicrosoftAccountAuthenticationMiddleware.CreateHandler Method

Provides the AuthenticationHandler object for processing authentication-related requests.

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

Syntax

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

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

Return Value

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

See Also

Reference

MicrosoftAccountAuthenticationMiddleware Class

Microsoft.Owin.Security.MicrosoftAccount Namespace