* add parameter to set_user_id
This commit is contained in:
parent
db0c492287
commit
f9dccf39fb
2
README
2
README
|
@ -51,7 +51,7 @@ function lassospkit_websso_redirect($relay)
|
|||
* URL to the local page intiating SSO exchanges with the IdP. Use the baseUrl
|
||||
configuration option to construct this URL.
|
||||
|
||||
function lassospkit_set_userid()
|
||||
function lassospkit_set_userid($userID)
|
||||
* Set the userID (can be any string) to persist together
|
||||
with the nameId when using automatized persistence of federations.
|
||||
|
||||
|
|
|
@ -74,8 +74,8 @@ function lassospkit_federate_redirect($relay) {
|
|||
/** Sets the userid to associate to this nameID, during
|
||||
the next WebSSO interaction.
|
||||
Only useful if you activated autofederation. */
|
||||
function lassospkit_set_userid() {
|
||||
LassoSPKitUtilsSession::setUserID($nameid);
|
||||
function lassospkit_set_userid($userid) {
|
||||
LassoSPKitUtilsSession::setUserID($userid);
|
||||
}
|
||||
|
||||
/* Return the URL where to redirect a user to initiated defederation of the current nameid. */
|
||||
|
|
Reference in New Issue