PHP 클래스 sspmod_saml_IdP_SQLNameID, simplesamlphp

파일 보기 프로젝트 열기: simplesamlphp/simplesamlphp 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

add() 공개 정적인 메소드

Add a NameID into the database.
public static add ( string $idpEntityId, string $spEntityId, string $user, string $value )
$idpEntityId string The IdP entityID.
$spEntityId string The SP entityID.
$user string The user's unique identificator (e.g. username).
$value string The NameID value.

delete() 공개 정적인 메소드

Delete a NameID from the database.
public static delete ( string $idpEntityId, string $spEntityId, string $user )
$idpEntityId string The IdP entityID.
$spEntityId string The SP entityID.
$user string The user's unique identificator (e.g. username).

get() 공개 정적인 메소드

Retrieve a NameID into from database.
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.

getIdentities() 공개 정적인 메소드

Retrieve all federated identities for an IdP-SP pair.
public static getIdentities ( string $idpEntityId, string $spEntityId ) : array
$idpEntityId string The IdP entityID.
$spEntityId string The SP entityID.
리턴 array Array of userid => NameID.