Learn R Programming

RestRserve (version 1.2.3)

AuthBackend: Create AuthBackend

Description

Creates AuthBackend class object.

Arguments

Public fields

HTTPError

Class which raises HTTP errors.

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.

References

falcon-auth

See Also

Other AuthBackend: AuthBackendBasic, AuthBackendBearer, AuthMiddleware