Authenticates request client based on data extracted from the request (see HeaderAuthenticationParser) as well as looked up from other sources (see Decorator).
Augments parsed information I (using some asynchronous process) returning either output O or an error.
Augments parsed information I (using some asynchronous process) returning either output O or an error.
Decorators should not throw exceptions. On error, they should return Left
with an error
message suitable for returning to the Naptime client.
Immediate header parser.
Immediate header parser. Tries to find authentication information.
HeaderAuthenticationParsers should not throw exceptions. On error, they should return ParseResult.Error with an error message suitable for returning to the Naptime client.
Parsed authentication data, entirely from the request header.
Output of HeaderAuthenticationParser.
Output of HeaderAuthenticationParser.
Parsed authentication data.
Authenticates request client based on data extracted from the request (see HeaderAuthenticationParser) as well as looked up from other sources (see Decorator).
Any authentication information obtained from the request and other sources, like user id, user role, device, etc.