| ILIAS
    release_5-4 Revision v5.4.26-12-gabc799a52e6
    | 
 Collaboration diagram for SimpleSAML\Utils\Auth:
 Collaboration diagram for SimpleSAML\Utils\Auth:| Static Public Member Functions | |
| static | getAdminLoginURL ($returnTo=null) | 
| Retrieve a admin login URL.  More... | |
| static | isAdmin () | 
| Check whether the current user is admin.  More... | |
| static | requireAdmin () | 
| Require admin access to the current page.  More... | |
| 
 | static | 
Retrieve a admin login URL.
| string | NULL | $returnTo | The URL the user should arrive on after admin authentication. Defaults to null. | 
InvalidArgumentException If $returnTo is neither a string nor null.
Definition at line 22 of file Auth.php.
References $returnTo, and SimpleSAML\Module\getModuleURL().
Referenced by SimpleSAML_Utilities\getAdminLoginURL().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Check whether the current user is admin.
Definition at line 42 of file Auth.php.
References $session, and SimpleSAML_Session\getSessionFromRequest().
Referenced by SimpleSAML_Utilities\isAdmin().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Require admin access to the current page.
This is a helper function for limiting a page to those with administrative access. It will redirect the user to a login page if the current user doesn't have admin access.
SimpleSAML_Error_Exception If no "admin" authentication source was configured.
Definition at line 60 of file Auth.php.
References $as, and SimpleSAML_Auth_Source\getById().
Referenced by sspmod_statistics_AccessCheck\checkAccess(), and SimpleSAML_Utilities\requireAdmin().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function: