Checks whether the user is authorized to execute an endpoint or not.
Checks whether the user is authorized to execute an endpoint or not.
The type of the request body.
The current identity instance.
The current authenticator instance.
The current request.
The messages for the current language.
True if the user is authorized, false otherwise.
A trait to define Authorization objects that let you hook an authorization implementation in secured endpoints.
The type of the identity.
The type of the authenticator.