diff options
author | Damien Laniel <dlaniel@entrouvert.com> | 2007-06-14 17:25:10 +0000 |
---|---|---|
committer | Damien Laniel <dlaniel@entrouvert.com> | 2007-06-14 17:25:10 +0000 |
commit | 9a0dbf9d8a230852914785cf0fe42628de314ca8 (patch) | |
tree | 25531a4f767358c474aa3eab1378ce81cfadcd59 /docs/lasso-book | |
parent | a32236b852cd05ee1f0eebfd87b9e81405ab2b68 (diff) | |
download | lasso-9a0dbf9d8a230852914785cf0fe42628de314ca8.tar.gz lasso-9a0dbf9d8a230852914785cf0fe42628de314ca8.tar.xz lasso-9a0dbf9d8a230852914785cf0fe42628de314ca8.zip |
added 2 lines to get the
Diffstat (limited to 'docs/lasso-book')
-rw-r--r-- | docs/lasso-book/writing-a-php-sp.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/lasso-book/writing-a-php-sp.txt b/docs/lasso-book/writing-a-php-sp.txt index 7790570b..1eb0af24 100644 --- a/docs/lasso-book/writing-a-php-sp.txt +++ b/docs/lasso-book/writing-a-php-sp.txt @@ -229,14 +229,13 @@ service. .. note:: the login URL is not normative; any name will do. -``$server`` is a instantiated ``LassoServer`` as seen earlier and -``$idpProviderId`` is a string with the identity provider Id (the string must -match a providerID defined in the metadata file). +``$server`` is an instantiated ``LassoServer`` as seen earlier :: - $lassoLogin = new LassoLogin($server); + $providerIdList = $server->providerIds; + $idpProviderId = $provider_id_list->getItem(0); $lassoLogin->initAuthnRequest($idpProviderId, LASSO_HTTP_METHOD_REDIRECT); $lassoRequest = $lassoLogin->request; $lassoRequest->NameIDPolicy = LASSO_LIB_NAMEID_POLICY_TYPE_FEDERATED; |