Udostępnij za pośrednictwem


AuthenticationSchemeProvider.AddScheme(AuthenticationScheme) Metoda

Definicja

Rejestruje schemat do użycia przez IAuthenticationServiceprogram .

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

Parametry

scheme
AuthenticationScheme

Schemat.

Implementuje

Dotyczy