code: public void refresh(OAuthJSONAccessTokenResponse token) {
          this.accessToken = token.getAccessToken();
          this.expiration = currentTimeSeconds() + token.getExpiresIn();
          this.expirationSpan = token.getExpiresIn();
          this.scopes = new RedditTokenCompleteScope(token.getScope());
          this.tokenType = token.getParam(PARAM_TOKEN_TYPE);
      }
docs: Refresh this reddit token with data received from the new token.
  
  @param token Token received from a refresh request to reddit