src/Service.php
protected function publishLogin(Principal $principal): bool
    {
        $this->publisher->publish(new Event\Login($this, $principal));
        return true;
    }
protected function publishLogin(Principal $principal): bool
    {
        $this->publisher->publish(new Event\Login($this, $principal));
        return true;
    }
protected function publishLogin ( Principal $ principal ) : bool { $ this -> publisher -> publish ( new Event \ Login ( $ this , $ principal ) ) ; return true ; }
Publishes the login event.

@param \Caridea\Auth\Principal $principal The authenticated principal
@return bool Always true
Publishes the login event .