메소드 | 설명 | |
---|---|---|
__construct ( array $info, array $config ) | Constructor for this authentication source. | |
authenticate ( &$state ) | Prompt the user with a list of authentication sources. | |
delegateAuthentication ( string $authId, array $state ) | Delegate authentication. | |
getPreviousSource ( ) | Get the previous authentication source. | |
logout ( &$state ) | Log out from this authentication source. | |
setPreviousSource ( string $source ) | Set the previous authentication source. |
public __construct ( array $info, array $config ) | ||
$info | array | Information about this authentication source. |
$config | array | Configuration. |
public authenticate ( &$state ) |
public static delegateAuthentication ( string $authId, array $state ) | ||
$authId | string | Selected authentication source |
$state | array | Information about the current authentication. |
public getPreviousSource ( ) |
public logout ( &$state ) |
public setPreviousSource ( string $source ) | ||
$source | string | Name of the authentication source the user selected. |