Share via


TwitterAuthenticationMiddleware.CreateHandler Method

Provides the AuthenticationHandler object for processing authentication-related requests.

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

Syntax

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

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

Return Value

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

See Also

Reference

TwitterAuthenticationMiddleware Class

Microsoft.Owin.Security.Twitter Namespace