Skip to content

Commit 19d98b8

Browse files
committed
make sure all auth examples uses a datastore
1 parent a335053 commit 19d98b8

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

R/api_auth.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#' )
3737
#'
3838
#' api() |>
39+
#' api_datastore(storr::driver_environment()) |>
3940
#' api_auth_guard(guard, "cookie_key")
4041
#'
4142
api_auth_guard <- function(api, guard, name = NULL) {
@@ -87,6 +88,7 @@ api_auth_guard <- function(api, guard, name = NULL) {
8788
#' # We assume the guards `oauth`, `basic`, and `key` will be added
8889
#' # later
8990
#' api() |>
91+
#' api_datastore(storr::driver_environment()) |>
9092
#' api_auth(
9193
#' method = "get",
9294
#' path = "/user/<username>",

man/api_auth.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/api_auth_guard.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)