Opened 15 years ago

Closed 15 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:

Description

Change History (3)

comment:1 by avodonosov, 15 years ago

Summary: some polishment provider APIsome polishment of the provider API

comment:2 by avodonosov, 15 years ago

Owner: set to avodonosov
Status: newassigned

comment:3 by avodonosov, 15 years ago

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.