Partilhar via


CorsPolicyBuilder.DisallowCredentials Método

Definição

Define a política para não permitir credenciais.

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

Retornos

O construtor de políticas atual.

Aplica-se a