def METHOD_NAME(
    self,
    account: "OAuthAccount",
    scopes: Optional[List[str]],
    token: str,
    expires_in: int,
) -> None:
    expires_in -= 10
    expiration = datetime.utcnow() + timedelta(seconds=expires_in)
    cache_key = self.get_cache_key(account, scopes)
    self._token_cache[cache_key] = token, expiration