Allow other applications to retrieve SSO data with this class if current user is SSO admin

package sso\lib

 Methods

Retrieve all user id registered in SSO database

getAllUsers() : array<mixed,string>

Returns

array<mixed,string>list of user ID

Retrieve full name of users

getDisplayNames(array<mixed,string> $users) : array<mixed,string>

Parameters

$users

array<mixed,string>

list of userID

Returns

array<mixed,string>list of user name, indexed by userID : userID => userName

Retrieve groups of users

getGroups(array<mixed,string> $users) : array<mixed,string[]>

Parameters

$users

array<mixed,string>

list of userId

Returns

array<mixed,string[]>groups of users : array(userID => array(group names))

Retrieve instance of SsoAdminApi

getInstance() : \sso\SsoAdminApi
Static

Returns

\sso\SsoAdminApiCurrent instance

Build a new SsoAdminApi class

__construct() 

 Properties

 

Current instance

$instance : \sso\SsoAdminApi

Default

NULL
Static