Create AuthBackend
Creates AuthBackend class object.
This object is typically constructed via a derived classes, e.g. AuthBackendBasic or AuthBackendBearer .
Other AuthBackend: AuthBackendBasic
, AuthBackendBearer
, AuthMiddleware
HTTPError
: Class which raises HTTP errors.
new()
Creates AuthBackend class object.
AuthBackend$new(FUN, auth_header_prefix)
FUN
: Authentication handler function.
auth_header_prefix
: Authentication HTTP header prefix.
authenticate()
This placeholder. It must be implemented in the subclass.
AuthBackend$authenticate()
clone()
The objects of this class are cloneable with this method.
AuthBackend$clone(deep = FALSE)
deep
: Whether to make a deep clone.
Useful links