TwitterMiddleware TwitterMiddleware TwitterMiddleware Class

Definition

ASP.NET Core middleware for authenticating users using Twitter.

public class TwitterMiddleware : Microsoft.AspNetCore.Authentication.AuthenticationMiddleware<Microsoft.AspNetCore.Builder.TwitterOptions>
type TwitterMiddleware = class
    inherit AuthenticationMiddleware<TwitterOptions>
Public Class TwitterMiddleware
Inherits AuthenticationMiddleware(Of TwitterOptions)
Inheritance

Constructors

TwitterMiddleware(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<TwitterOptions>) TwitterMiddleware(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<TwitterOptions>) TwitterMiddleware(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<TwitterOptions>)

Initializes a TwitterMiddleware

Methods

CreateHandler() CreateHandler() CreateHandler()

Provides the AuthenticationHandler<TOptions> object for processing authentication-related requests.

Invoke(HttpContext) Invoke(HttpContext) Invoke(HttpContext) Inherited from AuthenticationMiddleware<TOptions>

Properties

AuthenticationScheme AuthenticationScheme AuthenticationScheme Inherited from AuthenticationMiddleware<TOptions>
Logger Logger Logger Inherited from AuthenticationMiddleware<TOptions>
Options Options Options Inherited from AuthenticationMiddleware<TOptions>
UrlEncoder UrlEncoder UrlEncoder Inherited from AuthenticationMiddleware<TOptions>

Applies to