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 abstract bool IsRequestOriginAllowed()
Returns
| Type | Description |
|---|---|
| bool |
Exceptions
| Type | Condition |
|---|---|
| BadRequestApiException | The request contains multiple origin headers. |