Basic authorizer.
Description
The BasicAuthorizer provides two methods: one to grant access to everyone and another to grant access to authorized users.
Instance methods
anybody
Allows everyone access, even unauthorized users.
anybody(): Callable
- returns: Callable - returns anybody handler.
signed
Access is granted only to authorized users.
Throws UnauthorizedException exception if not authorized.
signed(): Callable
- returns: Callable - returns sign handler.