Delen via


AuthenticationScheme(String, String, Type) Constructor

Definition

Initializes a new instance of AuthenticationScheme.

public:
 AuthenticationScheme(System::String ^ name, System::String ^ displayName, Type ^ handlerType);
public AuthenticationScheme (string name, string displayName, Type handlerType);
public AuthenticationScheme (string name, string? displayName, Type handlerType);
new Microsoft.AspNetCore.Authentication.AuthenticationScheme : string * string * Type -> Microsoft.AspNetCore.Authentication.AuthenticationScheme
Public Sub New (name As String, displayName As String, handlerType As Type)

Parameters

name
String

The name for the authentication scheme.

displayName
String

The display name for the authentication scheme.

handlerType
Type

The IAuthenticationHandler type that handles this scheme.

Applies to