Clack.Middleware.OAuth - Supports authorization mechanism by OAuth.

SYNOPSIS

(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)) 

DESCRIPTION

This is a Clack Middleware for OAuth. Please read rfc5849 for more information.

Slots

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.

AUTHOR

EXTERNAL SYMBOLS