AuthenticationScheme Class

Definition

AuthenticationSchemes assign a name to a specific IAuthenticationHandler handlerType.

C#
public class AuthenticationScheme
Inheritance
AuthenticationScheme

Constructors

Properties

DisplayName

The display name for the scheme. Null is valid and used for non user facing schemes.

HandlerType

The IAuthenticationHandler type that handles this scheme.

Name

The name of the authentication scheme.

Applies to

Product Versions
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0