Constructor OriginValidator
OriginValidator(params string[])
Initializes a new instance of the OriginValidator class with the specified allowed origins.
Declaration
public OriginValidator(params string[] allowedOrigins)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | allowedOrigins | The allowed origins to register. Can use a wildcard at the start of the origin to match subdomains (e.g.
|