Learn R Programming

RestRserve (version 0.2.0.2)

AuthBackend: Create AuthBackend

Description

Creates AuthBackend class object.

Arguments

Format

R6::R6Class object.

Construction

Note: This object is typically constructed via a derived classes, e.g. AuthBackendBasic or AuthBackendBearer.

AuthBackend$new(FUN, auth_header_prefix)
  • FUN :: function Authentication handler function.

  • auth_header_prefix :: character(1) Authentication HTTP header prefix.

Methods

  • authenticate() simpleError This placeholder. It must be implemented in the subclass.

References

falcon-auth

See Also

Other AuthBackend: AuthBackendBasic, AuthBackendBearer, AuthMiddleware