CorsPolicyBuilder.AllowCredentials 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.
Sets the policy to allow credentials.
public:
 Microsoft::AspNetCore::Cors::Infrastructure::CorsPolicyBuilder ^ AllowCredentials();public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder AllowCredentials();member this.AllowCredentials : unit -> Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilderPublic Function AllowCredentials () As CorsPolicyBuilderReturns
The current policy builder.