Provides auth^2 from the v3 github api.
This library assumes you're using a ring-compatible response format.
The GitHub auth flow is relatively simple, and consists of three steps:
See http://developer.github.com/v3/oauth#web-application-flow for more information.
Provides auth^2 from the v3 github api. This library assumes you're using a ring-compatible response format. The GitHub auth flow is relatively simple, and consists of three steps: 1. Redirect users to github to request access permissions. 2. Handle the redirect back from github and exchange the recieved temporary code for a long-lived access token by posting to the github api. 3. Use the long-lived access token to query the user's protected information from the github api. See http://developer.github.com/v3/oauth#web-application-flow for more information.
(auth-redirect-url client-id redirect-uri scopes & [state])
Generates a github authorization URL.
Generates a github authorization URL.
(callback-route path
success-redirect-to
fail-redirect-to
client-id
client-secret)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close