From 74de9d0b602ebfec4c7c192a1b395112231b5d10 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 7 Dec 2005 16:26:30 +0000 Subject: [PATCH] auth code now returns { authtoken : , authtime : } as the payload so the OPAC will know what the timeout should be git-svn-id: svn://svn.open-ils.org/ILS/trunk@2256 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/c-apps/oils_auth.c | 11 ++++++++--- Open-ILS/src/c-apps/oils_event.h | 5 ++++- Open-ILS/web/opac/common/js/opac_utils.js | 10 ++++++++-- OpenSRF/src/srfsh/srfsh.c | 8 ++++++-- 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/Open-ILS/src/c-apps/oils_auth.c b/Open-ILS/src/c-apps/oils_auth.c index 9cba8c75ac..ecaa1fd571 100644 --- a/Open-ILS/src/c-apps/oils_auth.c +++ b/Open-ILS/src/c-apps/oils_auth.c @@ -31,7 +31,9 @@ int osrfAppInitialize() { MODULENAME, "open-ils.auth.authenticate.complete", "oilsAuthComplete", - "Completes the authentication process and returns the auth token " + "Completes the authentication process. Returns an object like so: " + "{authtoken : , authtime: