Share via


AuthorizationPolicyBuilder.AddAuthenticationSchemes(String[]) Method

Definition

Adds the specified authentication schemes to the AuthenticationSchemes for this instance.

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

Parameters

schemes
String[]

The schemes to add.

Returns

A reference to this instance after the operation has completed.

Applies to