groton-school / sky-api

PHP client for Blackbaud's SKY API
https://groton-school.github.io/sky-api/
GNU General Public License v3.0
1 stars 0 forks source link

need to handle _not_ being able to refresh! #5

Closed github-actions[bot] closed 8 months ago

github-actions[bot] commented 8 months ago

https://github.com/groton-school/sky-api/blob/a4cd4523ae68ffdbb23c0ee615dbf42587ae88bf/src/SKY.php#L108


            $newToken = self::api()->getAccessToken(self::REFRESH_TOKEN, [
              self::REFRESH_TOKEN => $token->getRefreshToken(),
            ]);
            // FIXME need to handle _not_ being able to refresh!
            $this->cache->set(self::Bb_TOKEN, $newToken);
            $token = $newToken;
        } else {
github-actions[bot] commented 8 months ago

Closed in 5a768214a2baef9cb3c676415e6ca71fc231e656