Метод | Описание | |
---|---|---|
__construct ( array $info, array $config ) | Constructor for this authentication source. | |
authenticate ( &$state ) | Log-in using cas | |
finalStep ( state &$state ) : list | Called by linkback, to finish validate/ finish logging in. | |
logout ( &$state ) | Log out from this authentication source. |
Метод | Описание | |
---|---|---|
casValidation ( string $ticket, string $service ) : list | Main validation method, redirects to correct method (keeps finalStep clean) |
Метод | Описание | |
---|---|---|
casServiceValidate ( string $ticket, string $service ) : list | Uses the cas service validate, this provides additional attributes | |
casValidate ( string $ticket, string $service ) : list | This the most simple version of validating, this provides only authentication validation |
public __construct ( array $info, array $config ) | ||
$info | array | Information about this authentication source. |
$config | array | Configuration. |
protected casValidation ( string $ticket, string $service ) : list | ||
$ticket | string | |
$service | string | |
Результат | list | username and attributes |
public finalStep ( state &$state ) : list | ||
$state | state | |
Результат | list | username, casattributes/ldap attributes |
public logout ( &$state ) |