Condividi tramite


AuthorizationPolicyBuilder.AddAuthenticationSchemes(String[]) Metodo

Definizione

Aggiunge l'autenticazione schemes specificata a AuthenticationSchemes per questa istanza.

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

Parametri

schemes
String[]

Schemi da aggiungere.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Si applica a