Skip to content
Snippets Groups Projects
Commit 6ab0f430 authored by Olav Morken's avatar Olav Morken
Browse files

docs: Update documentation for scoping.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2651 44740490-163a-0410-bde0-09ae8108e29a
parent 3bda880f
No related branches found
No related tags found
No related merge requests found
......@@ -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
-------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment