Method IsRequestOriginAllowed
IsRequestOriginAllowed()
Validates the current request origin against allowed origins. If the request contains an origin identifier, it must match one of the allowed origins.
Declaration
public override bool IsRequestOriginAllowed()
Returns
| Type | Description |
|---|---|
| bool |
Overrides
Exceptions
| Type | Condition |
|---|---|
| BadRequestApiException | The request contains multiple origin headers. |