summaryrefslogtreecommitdiffstats
path: root/docs/lasso-book/writing-a-c-sp.txt
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-08-10 18:18:18 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-08-10 18:18:18 +0000
commit4e35517e050966edfbc0f22d6d107b15df24faae (patch)
tree80a2f9f79c687370efb08e225be9aa0d6d277f31 /docs/lasso-book/writing-a-c-sp.txt
parentc51e88160f9a6dd71a5bd23a417d33325b29aea1 (diff)
downloadlasso-4e35517e050966edfbc0f22d6d107b15df24faae.tar.gz
lasso-4e35517e050966edfbc0f22d6d107b15df24faae.tar.xz
lasso-4e35517e050966edfbc0f22d6d107b15df24faae.zip
fixed a few errors
Diffstat (limited to 'docs/lasso-book/writing-a-c-sp.txt')
-rw-r--r--docs/lasso-book/writing-a-c-sp.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/lasso-book/writing-a-c-sp.txt b/docs/lasso-book/writing-a-c-sp.txt
index 4c54b0f4..0141055a 100644
--- a/docs/lasso-book/writing-a-c-sp.txt
+++ b/docs/lasso-book/writing-a-c-sp.txt
@@ -56,7 +56,7 @@ identity provider Id (defined in metadata).
You can now redirect the user to the URL defined in ``login->msg_url``; for
example, in a CGI::
- printf("Location: %s\n", login.msg_url);
+ printf("Location: %s\n", login->msg_url);
The user then logs in on the identity provider which ultimately redirects back
@@ -72,11 +72,10 @@ passed in the query parameter.
login_build_request_msg(login);
The service provider must check this artifact using a SOAP request to the
-identity provider. The URL is ``login.msg_url`` while the request is
-``login.msg_body``. The request must succeed with an HTTP 200 status code;
-its content is put in the ``answer``.
-
-::
+identity provider. The URL is ``login->msg_url`` while the request is
+``login->msg_body``. The request must succeed with an HTTP 200 status code;
+let's consider its content is put in the ``answer``, the next statement would
+be::
login_process_response_msg(login, answer);