AuthFailure final readonly class
Minn\Auth\AuthFailure · public/minn/src/Minn/Auth/AuthFailure.php · 26 lines
Why a request is not authenticated, as the reference's error code: a missing or invalid cookie, or a good one sent without a nonce, is rest_not_logged_in (the request is simply anonymous); a good cookie with a nonce that does not verify is rest_cookie_invalid_nonce. The reason tells a good cookie sent without its nonce apart: that request is nobody, whoever plugin code then names.
Used by 2
Constants and properties
| const | COOKIE_WITHOUT_NONCE = 'a sign-in cookie without its nonce' | |
| prop | readonly string $code | Promoted from the constructor. |
| prop | readonly string $reason | Promoted from the constructor. |
Public
Nothing matches.