[cl-openid-ticket] [cl-openid] #19: some polishment of the provider API

cl-openid cl-openid-devel at common-lisp.net
Sun Jun 12 00:53:31 UTC 2011


#19: some polishment of the provider API
-------------------------+--------------------------------------------------
  Reporter:  avodonosov  |       Owner:  avodonosov  
      Type:  defect      |      Status:  closed      
  Priority:  major       |   Milestone:              
 Component:  code        |     Version:  1.0 portable
Resolution:  fixed       |    Keywords:              
-------------------------+--------------------------------------------------
Changes (by avodonosov):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 The changes implemented:

 - HANDLE-OPENID-PROVIDER-REQUEST always returns the second value, an HTTP
 code.  When the HTTP code is redirect (3xx), the first value URI is
 returned as a string, instead of a PURI:URI object. This saves user from
 doing PRINC-TO-STRING for the URI.

 - CANCEL-RESPONSE and SUCCESSFUL-RESPONSE are renamed to CANCEL-RESPONSE-
 URI and SUCCESSFUL-RESPONSE-URI. Both functions return only single value -
 the URI (no sense to return the HTTP status code as the second value, as
 this is always recirect). The URI is returned as a string instead of
 PURI:URI instance.

 - Removed WITH-INDIRECT-ERROR-HANDLER and SIGNAL-INDIRECT-ERROR from the
 public API.

 - Introduced new public function AUTH-REQUEST-REALM with returns the realm
 of the OpenID authentication request message.

 - The HANDLE-OPENID-PROVIDER-REQUEST keyword parameter SECURE-P is renamed
 to ALLOW-UNENCRYPTED-ASSOCIATION-P.

 - Some adjustments in the docs.

-- 
Ticket URL: <http://trac.common-lisp.net/cl-openid/ticket/19#comment:3>
cl-openid <http://common-lisp.net/project/cl-openid>
cl-openid




More information about the cl-openid-ticket mailing list