Reference for receiving a token in a redirect from the oauth provider. If you are making a web app, implement a route in your app that captures the code parameter. If you use this namespace, add ring as a dependency in your project.
Reference for receiving a token in a redirect from the oauth provider. If you are making a web app, implement a route in your app that captures the code parameter. If you use this namespace, add ring as a dependency in your project.
(fresh-credentials request
{:as config :keys [redirect_uri authorization_options fns]}
scopes)
Opens a browser to authenticate, waits for a redirect, and returns a code. Defaults access_type to offline, state to a random uuid which is checked when redirected back, and include_granted_scopes true.
Opens a browser to authenticate, waits for a redirect, and returns a code. Defaults access_type to offline, state to a random uuid which is checked when redirected back, and include_granted_scopes true.
If the user doesn't log in after 2 minutes, stop waiting.
If the user doesn't log in after 2 minutes, stop waiting.
(update-credentials request config credentials scopes)
Use credentials if valid, refresh if necessary, or get new credentials. For valid optional params, see https://developers.google.com/identity/protocols/oauth2/web-server#httprest_1
Use credentials if valid, refresh if necessary, or get new credentials. For valid optional params, see https://developers.google.com/identity/protocols/oauth2/web-server#httprest_1
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |