View source: R/oauth-flow-auth-code.R
oauth_flow_auth_code_url | R Documentation |
These low-level functions can be used to assemble a custom flow for APIs that are further from the spec:
oauth_flow_auth_code_url()
generates the url that should be opened in a
browser.
oauth_flow_auth_code_listen()
starts a temporary local webserver that
listens for the response from the resource server.
oauth_flow_auth_code_parse()
parses the query parameters returned from
the server redirect, verifying that the state
is correct, and returning
the authorisation code.
oauth_flow_auth_code_pkce()
generates code verifier, method, and challenge
components as needed for PKCE, as defined in RFC 7636.
oauth_flow_auth_code_url(
client,
auth_url,
redirect_uri = NULL,
scope = NULL,
state = NULL,
auth_params = list()
)
oauth_flow_auth_code_listen(redirect_uri = "http://localhost:1410")
oauth_flow_auth_code_parse(query, state)
oauth_flow_auth_code_pkce()
state |
Random state generated by |
query |
List of query parameters returned by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.