PHP 클래스 Webiny\Component\Security\User\AnonymousUser

This is the user class that is created if we cannot identify the user or when we return the user from the token.
상속: extends AbstractUser
파일 보기 프로젝트 열기: Webiny/Framework

공개 메소드들

메소드 설명
__construct ( ) Base constructor.
authenticate ( Login $login, Firewall $firewall ) : boolean This method verifies the credentials of current user with the credentials provided from the Login object.

메소드 상세

__construct() 공개 메소드

Base constructor.
public __construct ( )

authenticate() 공개 메소드

This method verifies the credentials of current user with the credentials provided from the Login object.
public authenticate ( Login $login, Firewall $firewall ) : boolean
$login Webiny\Component\Security\Authentication\Providers\Login
$firewall Webiny\Component\Security\Authentication\Firewall
리턴 boolean Return true if credentials are valid, otherwise return false.