File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 oauth_client("x", url)
4242 Output
4343 <httr2_oauth_client>
44- * name : "bf27508f7925b06bf28a10f3805351ab "
44+ * name : "9758a2659d8a24b1be8a873ab9e4da84 "
4545 * id : "x"
4646 * token_url: "http://example.com"
4747 * auth : "oauth_client_req_auth_body"
4848 Code
4949 oauth_client("x", url, secret = "SECRET")
5050 Output
5151 <httr2_oauth_client>
52- * name : "bf27508f7925b06bf28a10f3805351ab "
52+ * name : "9758a2659d8a24b1be8a873ab9e4da84 "
5353 * id : "x"
5454 * secret : <REDACTED>
5555 * token_url: "http://example.com"
6060 })
6161 Output
6262 <httr2_oauth_client>
63- * name : "bf27508f7925b06bf28a10f3805351ab "
63+ * name : "9758a2659d8a24b1be8a873ab9e4da84 "
6464 * id : "x"
6565 * token_url: "http://example.com"
6666 * auth : <function>
Original file line number Diff line number Diff line change 1111 Code
1212 cache$set(1)
1313 Message
14- Caching httr2 token in '<oauth-cache-path>/httr2-test/ae743e0fbd718c21f2cca632e77bd180 -token.rds.enc'.
14+ Caching httr2 token in '<oauth-cache-path>/httr2-test/2c0a8a99dc147d5445c3b49d035665b2 -token.rds.enc'.
1515
Original file line number Diff line number Diff line change 88 Code
99 invisible(cache_post_fetch(req, resp))
1010 Message
11- Saving response to cache "f3805db63ff822b4743f247cfdde10a3 "
11+ Saving response to cache "076ab9e79f298c15d4444b2eb6fffa84 "
1212 Code
1313 invisible(cache_pre_fetch(req))
1414 Message
15- Found url in cache "f3805db63ff822b4743f247cfdde10a3 "
15+ Found url in cache "076ab9e79f298c15d4444b2eb6fffa84 "
1616 Cached value is fresh; using response from cache
1717
1818---
2222 invisible(cache_pre_fetch(req))
2323 Message
2424 Pruning cache
25- Found url in cache "f3805db63ff822b4743f247cfdde10a3 "
25+ Found url in cache "076ab9e79f298c15d4444b2eb6fffa84 "
2626 Cached value is stale; checking for updates
2727 Code
2828 invisible(cache_post_fetch(req, response(304)))
You can’t perform that action at this time.
0 commit comments