Partilhar via


CorsPolicyBuilder.AllowAnyOrigin Método

Definição

Garante que a política permita qualquer origem.

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

Retornos

O construtor de políticas atual.

Aplica-se a