Dela via


IAuthenticationSchemeProvider.AddScheme(AuthenticationScheme) Method

Definition

Registers a scheme for use by IAuthenticationService.

public:
 void AddScheme(Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme);
public void AddScheme (Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme);
abstract member AddScheme : Microsoft.AspNetCore.Authentication.AuthenticationScheme -> unit
Public Sub AddScheme (scheme As AuthenticationScheme)

Parameters

scheme
AuthenticationScheme

The scheme.

Applies to