Метод | Описание | |
---|---|---|
add ( string $idpEntityId, string $spEntityId, string $user, string $value ) | Add a NameID into the database. | |
delete ( string $idpEntityId, string $spEntityId, string $user ) | Delete a NameID from the database. | |
get ( string $idpEntityId, string $spEntityId, string $user ) : string | null | Retrieve a NameID into from database. | |
getIdentities ( string $idpEntityId, string $spEntityId ) : array | Retrieve all federated identities for an IdP-SP pair. |
Метод | Описание | |
---|---|---|
createTable ( SimpleSAML_Store_SQL $store ) | Create NameID table in SQL, if it is missing. | |
getStore ( ) : SimpleSAML_Store_SQL | Retrieve the SQL datastore. |
public static get ( string $idpEntityId, string $spEntityId, string $user ) : string | null | ||
$idpEntityId | string | The IdP entityID. |
$spEntityId | string | The SP entityID. |
$user | string | The user's unique identificator (e.g. username). |
Результат | string | null | $value The NameID value, or NULL of no NameID value was found. |