From 6ab0f4304004d86943493e7453ec6f2ccdb2f009 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Tue, 16 Nov 2010 14:32:43 +0000 Subject: [PATCH] docs: Update documentation for scoping. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2651 44740490-163a-0410-bde0-09ae8108e29a --- docs/simplesamlphp-scoping.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/simplesamlphp-scoping.txt b/docs/simplesamlphp-scoping.txt index e732dc197..4fe5b7234 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 ------- -- GitLab