src/Auth/Authentication.php
protected function isTokenExpired( $service ) {
        if ( !$this->isTokenLoaded( $service ) ) {
            $this->tokens[$service] = $this->getToken( $service );
        }

        return $this->tokens[$service]->hasExpired();
    }
protected function isTokenExpired( $service ) {
        if ( !$this->isTokenLoaded( $service ) ) {
            $this->tokens[$service] = $this->getToken( $service );
        }

        return $this->tokens[$service]->hasExpired();
    }
protected function isTokenExpired ( $ service ) { if ( ! $ this -> isTokenLoaded ( $ service ) ) { $ this -> tokens [ $ service ] = $ this -> getToken ( $ service ) ; } return $ this -> tokens [ $ service ] -> hasExpired ( ) ; }
Tells whether the given service token has expired.

@param string $service

@return bool
Tells whether the given service token has expired .