Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #8 from kornysietsma/master

readme fix
  • Loading branch information...
commit cf8d11c8b6ba3c9b0dbb11b6c16051a758a153e5 2 parents 07aedea + 560b017
Matt Revelle authored

Showing 1 changed file with 7 additions and 7 deletions. Show diff stats Hide diff stats

  1. +7 7 README.markdown
14 README.markdown
Source Rendered
@@ -26,17 +26,17 @@ The server support makes it simple to add OAuth support to any [Ring](http://git
26 26 :hmac-sha1))
27 27
28 28 ;; Fetch a request token that a OAuth User may authorize
29   - (def request-token (oauth/request-token consumer))
30   -
31   - ;; Send the User to this URI for authorization, they will be able
32   - ;; to choose the level of access to grant the application and will
33   - ;; then be redirected to the callback URI provided.
34 29 ;;
35 30 ;; If you are using OAuth with a desktop application, a callback URI
36 31 ;; is not required.
  32 + (def request-token (oauth/request-token consumer <callback-uri>))
  33 +
  34 + ;; Send the User to this URI for authorization, they will be able
  35 + ;; to choose the level of access to grant the application and will
  36 + ;; then be redirected to the callback URI provided with the
  37 + ;; request-token.
37 38 (oauth/user-approval-uri consumer
38   - request-token
39   - <callback-uri>)
  39 + (:oauth_token request-token))
40 40
41 41 ;; Assuming the User has approved the request token, trade it for an access token.
42 42 ;; The access token will then be used when accessing protected resources for the User.

0 comments on commit cf8d11c

Please sign in to comment.
Something went wrong with that request. Please try again.