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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for