Liking cljdoc? Tell your friends :D

happy.oauth2-capture-redirect

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.
raw docstring

grow-scopesclj

(grow-scopes config {:as credentials :keys [scopes]} new-scopes optional)

Incremental authorization. Given a credentials map, re-authorizes with additional scopes. Include previous scopes when asking for new scopes. Scopes are a vector of urls. Credentials contain tokens and scopes. Returns the URL to redirect the user to, or nil if the scopes are already authorized.

Incremental authorization.
Given a credentials map, re-authorizes with additional scopes.
Include previous scopes when asking for new scopes.
Scopes are a vector of urls.
Credentials contain tokens and scopes.
Returns the URL to redirect the user to,
or nil if the scopes are already authorized.
sourceraw docstring

request-codeclj

(request-code config scopes optional)
source

update-credentialsclj

(update-credentials config credentials scopes optional)
source

wait-for-redirectclj

(wait-for-redirect {:as config :keys [redirect-uri redirect-uris]})
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close