Sdílet prostřednictvím


AuthorizationPolicyBuilder.AddAuthenticationSchemes(String[]) Metoda

Definice

Přidá zadané ověřování schemes do AuthenticationSchemes pro tuto instanci.

public:
 Microsoft::AspNetCore::Authorization::AuthorizationPolicyBuilder ^ AddAuthenticationSchemes(... cli::array <System::String ^> ^ schemes);
public Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder AddAuthenticationSchemes (params string[] schemes);
member this.AddAuthenticationSchemes : string[] -> Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder
Public Function AddAuthenticationSchemes (ParamArray schemes As String()) As AuthorizationPolicyBuilder

Parametry

schemes
String[]

Schémata, která se mají přidat.

Návraty

Odkaz na tuto instanci po dokončení operace.

Platí pro