Nothing
Code
fp$add_guard(custom_guard)
Condition
Error in `fp$add_guard()`:
! `name` must be a single string, not `NULL`.
Code
fp$add_guard("not_a_guard", "invalid")
Condition
Error in `fp$add_guard()`:
! `guard` must be a function or a <Guard> object
Code
fp$add_guard(123, "invalid")
Condition
Error in `fp$add_guard()`:
! `guard` must be a function or a <Guard> object
Code
fp$dispatch(bad_req, server = new.env(), arg_list = list(datastore = new.env()))
Condition
Error in `handler()`:
! Unauthorized
Code
fp$add_handler("get", "/path", function() { })
Condition
Error in `fp$add_handler()`:
! <Fireproof> does not support adding handlers directly
i Use the `add_auth()` method to add an authentication/authorization handler
Code
result <- fp$flow_to_openapi(outer, scope = character())
Condition
Warning:
Auth flow `(((auth1 && auth2) || auth3) && auth1)` cannot be represented by the OpenAPI syntax
Code
parse_auth_flow(auth1 + auth2)
Condition
Error in `parse_auth_flow()`:
! Unknown operator for auth flow. Only `||` and `&&` allowed
Code
parse_auth_flow(auth1 & auth2)
Condition
Error in `parse_auth_flow()`:
! Unknown operator for auth flow. Only `||` and `&&` allowed
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.