PHP 클래스 eZ\Publish\Core\REST\Server\Authenticator

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( eZ\Publish\API\Repository\Repository $repository ) Creates an new Authenticator to $repository.
authenticate ( Qafoo\RMF\Request $request ) : boolean Authenticates the user based on the given request.

메소드 상세

__construct() 공개 메소드

Creates an new Authenticator to $repository.
public __construct ( eZ\Publish\API\Repository\Repository $repository )
$repository eZ\Publish\API\Repository\Repository

authenticate() 추상적인 공개 메소드

Performs an authentication based on the given $request and sets the authenticated user into the $repository. Returns true on success, false of authentication was not possible or did not succeed.
abstract public authenticate ( Qafoo\RMF\Request $request ) : boolean
$request Qafoo\RMF\Request
리턴 boolean