Udostępnij za pośrednictwem


IAuthenticationSchemeProvider.AddScheme(AuthenticationScheme) Metoda

Definicja

Rejestruje schemat do użycia przez IAuthenticationServiceprogram .

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)

Parametry

scheme
AuthenticationScheme

Schemat.

Dotyczy