Condividi tramite


IAuthenticationSchemeProvider.AddScheme(AuthenticationScheme) Metodo

Definizione

Registra uno schema per l'uso da parte di 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)

Parametri

scheme
AuthenticationScheme

Schema.

Si applica a