Description Usage Arguments Details Value Examples
View source: R/has_auth_code.R
checks for authorization code in url
1 | has_auth_code(params)
|
params |
session URL |
params is a list object containing the parsed URL parameters. Return TRUE if based on these parameters, it looks like auth codes are present that we can use to get an access token. If not, it means we need to go through the OAuth flow.
Tru eor False
1 2 3 4 5 6 | ## Not run:
if(interactive()){
has_auth_code(parseQueryString(req$QUERY_STRING))
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.