req_oauth_solid_dpop | R Documentation |
Uses oauth_flow_auth_code to generate an access token, used to authenticate the request with oauth_client_req_auth_dpop. The token is automatically cached to minimise the number of times login/consent is performed.
req_oauth_solid_dpop(req, client)
req |
httr2 req object |
client |
client object, as returned by solid_client_register_dyn or solid_client_register_clientid |
httr2 req object with authorization headers
## Not run: url <- "https://MY_PRIVATE_URL" request(url) %>% req_oauth_solid_dpop(client) %>% req_perform() %>% resp_body_string() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.