(run
(builder
(<clack-middleware-oauth>
:consumer-key "XXXXXXXXXXXXXXXXXXXXX"
:consumer-secret "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
:authorize-uri "http://localhost/authorize"
:request-token-uri "http://localhost/request"
:access-token-uri "http://localhost/access"
:path "/auth"
:callback-base "http://localhost/"
:authorized #'callback)
app)) This is a Clack Middleware for OAuth. Please read rfc5849 for more information.
OAuth parameter.
URIs to process OAuth.
A path to be handled by
A host address will be passed to OAuth Provider. (format nil "~a~a" callback-base path) should be valid URI.
A callback function when authorization is suceeded. It will be called with two parameters: clack request and cl-oauth:access-token.