PHP 클래스 sspmod_authX509_Auth_Source_X509userCert, simplesamlphp

저자: Emmanuel Dreyfus ([email protected])
상속: extends SimpleSAML_Auth_Source
파일 보기 프로젝트 열기: simplesamlphp/simplesamlphp

공개 메소드들

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