Method IsRequestOriginAllowed
IsRequestOriginAllowed()
Determines whether the origin of the current request is allowed: a request with an Origin header must have one of the allowed origins, and a
request without one is allowed.
Declaration
protected override bool IsRequestOriginAllowed()
Returns
| Type | Description |
|---|---|
| bool |
Overrides
Exceptions
| Type | Condition |
|---|---|
| BadRequestApiException | The request contains multiple origin headers. |