Skip to content

Commit 33ac4e4

Browse files
committed
add claim to client in jwt example
1 parent cb3e86f commit 33ac4e4

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

R/oauth-flow-jwt.R

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,13 @@
2222
#' req_auth <- function(req) {
2323
#' req_oauth_bearer_jwt(
2424
#' req,
25-
#' client = oauth_client("example", "https://example.com/get_token"),
26-
#' claim = jwt_claim()
25+
#' client = oauth_client(
26+
#' "example",
27+
#' "https://example.com/get_token",
28+
#' auth_params = list(
29+
#' claim = jwt_claim()
30+
#' )
31+
#' )
2732
#' )
2833
#' }
2934
#'

man/req_oauth_bearer_jwt.Rd

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)