Méthode | Description | |
---|---|---|
GetCorsPolicyAsync ( |
Returns custom CorsPolicy with AllowAnyHeader and AllowAnyMethod set to true by default. Allowed origins are imported from config via helper then split into an array and added to the CorsPolicy.Origins variable of type "IList string".
|
public GetCorsPolicyAsync ( |
||
request | ||
cancellationToken | ||
Résultat | Task |