Share via


TwitterMiddleware Class

Definition

ASP.NET Core middleware for authenticating users using Twitter.

public ref class TwitterMiddleware : Microsoft::AspNetCore::Authentication::AuthenticationMiddleware<Microsoft::AspNetCore::Builder::TwitterOptions ^>
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>)

Initializes a TwitterMiddleware

Properties

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

Methods

CreateHandler()

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

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

Applies to