AppserverIo\Appserver\ServletEngine\Http\Request::getUserPrincipal PHP 메소드

getUserPrincipal() 공개 메소드

Return's a PrincipalInterface object containing the name of the current authenticated user.
public getUserPrincipal ( ) : AppserverIo\Psr\Security\PrincipalInterface | null
리턴 AppserverIo\Psr\Security\PrincipalInterface | null The user principal
    public function getUserPrincipal()
    {
        return $this->userPrincipal;
    }