close Warning: Can't synchronize with repository "(default)" (/project/cl-openid/svn does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Closed 13 years ago

#19 closed defect (fixed)

some polishment of the provider API

Reported by: avodonosov Owned by: avodonosov
Priority: major Milestone:
Component: code Version: 1.0 portable
Keywords: Cc:

Change History (3)

comment:1 Changed 13 years ago by avodonosov

Summary: some polishment provider APIsome polishment of the provider API

comment:2 Changed 13 years ago by avodonosov

Owner: set to avodonosov
Status: newassigned

comment:3 Changed 13 years ago by avodonosov

Resolution: fixed
Status: assignedclosed

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.
Note: See TracTickets for help on using tickets.