AuthorizationPolicyBuilder.AddAuthenticationSchemes(String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.