protected function logTokenData()
    {
        $this->getLogger()->debug('Token information', [
            'accessTokenExists' => isset($this->accessToken),
            'accessTokenExpiration' => isset($this->accessToken) ? $this->accessToken->getTokenData()['exp'] : null,
            'accessTokenHasExpired' => isset($this->accessToken) ? $this->accessToken->expired() : null,
            'refreshTokenExists' => isset($this->refreshToken),
            'refreshTokenExpiration' => isset($this->refreshToken) ? $this->refreshToken->getTokenData()['exp'] : null,
            'refreshTokenHasExpired' => isset($this->refreshToken) ? $this->refreshToken->expired() : null,
            'localTime' => time(),
        ]);
    }
protected function logTokenData()
    {
        $this->getLogger()->debug('Token information', [
            'accessTokenExists' => isset($this->accessToken),
            'accessTokenExpiration' => isset($this->accessToken) ? $this->accessToken->getTokenData()['exp'] : null,
            'accessTokenHasExpired' => isset($this->accessToken) ? $this->accessToken->expired() : null,
            'refreshTokenExists' => isset($this->refreshToken),
            'refreshTokenExpiration' => isset($this->refreshToken) ? $this->refreshToken->getTokenData()['exp'] : null,
            'refreshTokenHasExpired' => isset($this->refreshToken) ? $this->refreshToken->expired() : null,
            'localTime' => time(),
        ]);
    }
protected function logTokenData ( ) { $ this -> getLogger ( ) -> debug ( 'Token information' , [ 'accessTokenExists' => isset ( $ this -> accessToken ) , 'accessTokenExpiration' => isset ( $ this -> accessToken ) ? $ this -> accessToken -> getTokenData ( ) [ 'exp' ] : null , 'accessTokenHasExpired' => isset ( $ this -> accessToken ) ? $ this -> accessToken -> expired ( ) : null , 'refreshTokenExists' => isset ( $ this -> refreshToken ) , 'refreshTokenExpiration' => isset ( $ this -> refreshToken ) ? $ this -> refreshToken -> getTokenData ( ) [ 'exp' ] : null , 'refreshTokenHasExpired' => isset ( $ this -> refreshToken ) ? $ this -> refreshToken -> expired ( ) : null , 'localTime' => time ( ) , ] ) ; }
Log information about which tokens we have.
Log information about which tokens we have .