Dela via


MicrosoftAccountMiddleware Class

Definition

An ASP.NET Core middleware for authenticating users using the Microsoft Account service.

public ref class MicrosoftAccountMiddleware : Microsoft::AspNetCore::Authentication::OAuth::OAuthMiddleware<Microsoft::AspNetCore::Builder::MicrosoftAccountOptions ^>
public class MicrosoftAccountMiddleware : Microsoft.AspNetCore.Authentication.OAuth.OAuthMiddleware<Microsoft.AspNetCore.Builder.MicrosoftAccountOptions>
type MicrosoftAccountMiddleware = class
    inherit OAuthMiddleware<MicrosoftAccountOptions>
Public Class MicrosoftAccountMiddleware
Inherits OAuthMiddleware(Of MicrosoftAccountOptions)
Inheritance

Constructors

MicrosoftAccountMiddleware(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<MicrosoftAccountOptions>)

Initializes a new MicrosoftAccountMiddleware.

Properties

AuthenticationScheme (Inherited from AuthenticationMiddleware<TOptions>)
Backchannel (Inherited from OAuthMiddleware<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