Compartilhar via


CorsPolicyBuilder.AllowCredentials Método

Definição

Define a política para permitir credenciais.

public:
 Microsoft::AspNetCore::Cors::Infrastructure::CorsPolicyBuilder ^ AllowCredentials();
public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder AllowCredentials ();
member this.AllowCredentials : unit -> Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder
Public Function AllowCredentials () As CorsPolicyBuilder

Retornos

O construtor de políticas atual.

Aplica-se a