public function getAccessToken(array $param = [])
    {
        if (! $this->hasStoredToken()) {
            return null;
        }

        if ($this->isNotExpired()) {
            $this->logger->debug(__CLASS__, 'get', 'Access token retrieved from file');

            return $this->loadAccessToken();
        }

        return null;
    }
public function getAccessToken(array $param = [])
    {
        if (! $this->hasStoredToken()) {
            return null;
        }

        if ($this->isNotExpired()) {
            $this->logger->debug(__CLASS__, 'get', 'Access token retrieved from file');

            return $this->loadAccessToken();
        }

        return null;
    }
public function getAccessToken ( array $ param = [ ] ) { if ( ! $ this -> hasStoredToken ( ) ) { return null ; } if ( $ this -> isNotExpired ( ) ) { $ this -> logger -> debug ( __CLASS__ , 'get' , 'Access token retrieved from file' ) ; return $ this -> loadAccessToken ( ) ; } return null ; }
Get a stored Access Token
It must answer only if the Access Token is valid and not expired

@param array $param

@return string|null
Get a stored Access Token It must answer only if the Access Token is valid and not expired