메소드 | 설명 | |
---|---|---|
addAssociation ( array $association ) | Add an SP association. | |
doLogoutRedirect ( string $url ) | Log out, then redirect to a URL. | |
finishLogout ( array &$state ) | Finish the logout operation. | |
finishLogoutRedirect ( SimpleSAML_IdP $idp, array $state ) | Redirect to a URL after logout. | |
getAssociations ( ) : array | Retrieve list of SP associations. | |
getById ( string $id ) : SimpleSAML_IdP | Retrieve an IdP by ID. | |
getByState ( array &$state ) : SimpleSAML_IdP | Retrieve the IdP "owning" the state. | |
getConfig ( ) : SimpleSAML_Configuration | Retrieve the configuration for this IdP. | |
getId ( ) : string | Retrieve the ID of this IdP. | |
getLogoutHandler ( ) : SimpleSAML\IdP\LogoutHandlerInterface | Find the logout handler of this IdP. | |
getSPName ( string $assocId ) : array | null | Get SP name. | |
handleAuthenticationRequest ( array &$state ) | Process authentication requests. | |
handleLogoutRequest ( array &$state, string | null $assocId ) | Process a logout request. | |
handleLogoutResponse ( string $assocId, string | null $relayState, SimpleSAML_Error_Exception $error = null ) | Process a logout response. | |
isAuthenticated ( ) : boolean | Is the current user authenticated? | |
postAuth ( array $state ) | The user is authenticated. | |
postAuthProc ( array $state ) | Called after authproc has run. | |
terminateAssociation ( string $assocId ) | Remove an SP association. |
메소드 | 설명 | |
---|---|---|
__construct ( string $id ) | Initialize an IdP. | |
authenticate ( array &$state ) | Authenticate the user. | |
reauthenticate ( array &$state ) | Re-authenticate the user. |
public addAssociation ( array $association ) | ||
$association | array | The SP association. |
public doLogoutRedirect ( string $url ) | ||
$url | string | The URL the user should be returned to after logout. |
public finishLogout ( array &$state ) | ||
$state | array |
public static finishLogoutRedirect ( SimpleSAML_IdP $idp, array $state ) | ||
$idp | SimpleSAML_IdP | Deprecated. Will be removed. |
$state | array |
public getAssociations ( ) : array | ||
리턴 | array | List of SP associations. |
public static getByState ( array &$state ) : SimpleSAML_IdP | ||
$state | array | |
리턴 | SimpleSAML_IdP | The IdP. |
public getConfig ( ) : SimpleSAML_Configuration | ||
리턴 | SimpleSAML_Configuration | The configuration object. |
public getLogoutHandler ( ) : SimpleSAML\IdP\LogoutHandlerInterface | ||
리턴 | SimpleSAML\IdP\LogoutHandlerInterface | The logout handler class. |
public handleAuthenticationRequest ( array &$state ) | ||
$state | array |
public handleLogoutResponse ( string $assocId, string | null $relayState, SimpleSAML_Error_Exception $error = null ) | ||
$assocId | string | The association that is terminated. |
$relayState | string | null | The RelayState from the start of the logout. |
$error | SimpleSAML_Error_Exception | The error that occurred during session termination (if any). |
public isAuthenticated ( ) : boolean | ||
리턴 | boolean | True if the user is authenticated, false otherwise. |
public static postAuthProc ( array $state ) | ||
$state | array | The authentication request state array. |
public terminateAssociation ( string $assocId ) | ||
$assocId | string | The association id. |