src/Service.php
public function resume(): bool
    {
        if ($this->values->offsetExists('principal')) {
            $this->principal = $this->values->get('principal');

            $this->logger->info(
                "Authentication resume: {user}",
                ['user' => $this->principal]
            );
            $this->publishResume($this->principal, $this->values);

            $this->values->offsetSet('lastActive', microtime(true));

            return true;
        }
        return false;
    }
public function resume(): bool
    {
        if ($this->values->offsetExists('principal')) {
            $this->principal = $this->values->get('principal');

            $this->logger->info(
                "Authentication resume: {user}",
                ['user' => $this->principal]
            );
            $this->publishResume($this->principal, $this->values);

            $this->values->offsetSet('lastActive', microtime(true));

            return true;
        }
        return false;
    }
public function resume ( ) : bool { if ( $ this -> values -> offsetExists ( 'principal' ) ) { $ this -> principal = $ this -> values -> get ( 'principal' ) ; $ this -> logger -> info ( "Authentication resume: {user}" , [ 'user' => $ this -> principal ] ) ; $ this -> publishResume ( $ this -> principal , $ this -> values ) ; $ this -> values -> offsetSet ( 'lastActive' , microtime ( true ) ) ; return true ; } return false ; }
Resumes an existing authenticated session.

@return bool If an authentication session existed
Resumes an existing authenticated session .