# We are not adding the guards here - only the auth flow
# We assume the guards `oauth`, `basic`, and `key` will be added
# later
api() |>
api_datastore(storr::driver_environment()) |>
api_auth(
method = "get",
path = "/user/",
auth_flow = oauth || (basic && key)
)
Run the code above in your browser using DataLab