original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Resumes an existing authenticated session.
  
  @return bool If an authentication session existed
docstring_tokens: Resumes an existing authenticated session .