AuthBackend {RestRserve} | R Documentation |
Create AuthBackend
Description
Creates AuthBackend class object.
Public fields
HTTPError
Class which raises HTTP errors.
Methods
Public methods
Method new()
Creates AuthBackend class object.
Usage
AuthBackend$new(FUN, auth_header_prefix)
Arguments
FUN
Authentication handler function.
auth_header_prefix
Authentication HTTP header prefix.
Method authenticate()
This placeholder. It must be implemented in the subclass.
Usage
AuthBackend$authenticate()
Method clone()
The objects of this class are cloneable with this method.
Usage
AuthBackend$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Note
This object is typically constructed via a derived classes, e.g. AuthBackendBasic or AuthBackendBearer.
References
See Also
Other AuthBackend:
AuthBackendBasic
,
AuthBackendBearer
,
AuthMiddleware
[Package RestRserve version 1.2.3 Index]