request:onUnauthorized #
Arguments | Type | Description |
---|---|---|
request | Request | The normalized API request |
Triggered whenever a request fails authorization checks, and is about to be rejected with a 401
error code.
Edit this page on Github(opens new window)
You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.
Arguments | Type | Description |
---|---|---|
request | Request | The normalized API request |
Triggered whenever a request fails authorization checks, and is about to be rejected with a 401
error code.