Authentication data type
Principal data type, the type must extend Principal
ReadonlyauthenticationString to use in WWW-Authenticate header when returing
a HTTP 401 response, see:
https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml
ReadonlynameA human readable name for this authentication filter.
Attempt to authorise a user suing the authentication data supplied.
An instance of the principal type U should be returned on authentication
success, otherwise undefined should be returned.
An instance of the authentication data type T.
Instance of type U or undefined on authentication failure.
Authentication filter that can extract authentication data from a HTTP request and preform authentication using that data.