diff --git a/docs/simplesamlphp-scoping.txt b/docs/simplesamlphp-scoping.txt index e732dc19703dc82f21c6909ac2760c092dcb48f8..4fe5b723494a3c48289f320a47857d36c54a8439 100644 --- a/docs/simplesamlphp-scoping.txt +++ b/docs/simplesamlphp-scoping.txt @@ -84,13 +84,13 @@ were involved in the authentication of the user, SimpleSAMLphp addes the AuthenticatingAuthority elements. The list of authenticating authorities (the AuthenticatingAuthority element) -can be retrived as an array from the session object. +can be retrived as an array from the authentication data. + + # Get the authentication source. + $as = new SimpleSAML_Auth_Simple(); - # Get the current persistent authentication state - $authstate = $session->getAuthState(); - # Get the AuthenticatingAuthority - $aa = $authstate['saml:AuthenticatingAuthority']; + $aa = $as->getAuthData('saml:AuthenticatingAuthority'); Support -------