PHP Класс sspmod_authX509_Auth_Source_X509userCert, simplesamlphp

Автор: Emmanuel Dreyfus ([email protected])
Наследование: extends SimpleSAML_Auth_Source
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( array $info, &$config ) Constructor for this authentication source.
authFailed ( &$state ) Finish a failed authentication.
authSuccesful ( &$state ) Finish a succesful authentication.
authenticate ( &$state ) Validate certificate and login

Приватные методы

Метод Описание
der2pem ( array $der_data ) Convert certificate from DER to PEM
pem2der ( array $pem_data ) Convert certificate from PEM to DER

Описание методов

__construct() публичный Метод

All subclasses who implement their own constructor must call this constructor before using $config for anything.
public __construct ( array $info, &$config )
$info array Information about this authentication source.

authFailed() публичный Метод

This function can be overloaded by a child authentication class that wish to perform some operations on failure
public authFailed ( &$state )

authSuccesful() публичный Метод

This function can be overloaded by a child authentication class that wish to perform some operations after login.
public authSuccesful ( &$state )

authenticate() публичный Метод

This function try to validate the certificate. On success, the user is logged in without going through o login page. On failure, The authX509:X509error.php template is loaded.
public authenticate ( &$state )