CorsPolicyBuilder.DisallowCredentials 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 not allow credentials.
public:
Microsoft::AspNetCore::Cors::Infrastructure::CorsPolicyBuilder ^ DisallowCredentials();
public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder DisallowCredentials ();
member this.DisallowCredentials : unit -> Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder
Public Function DisallowCredentials () As CorsPolicyBuilder
Returns
The current policy builder.