Class RefreshTokenPayload

    • Constructor Detail

      • RefreshTokenPayload

        public RefreshTokenPayload()
    • Method Detail

      • getRefreshToken

        public String getRefreshToken()
        The refresh token is either the first refresh token you received when you authenticated with the auth/api-key endpoint, or it's the refresh token from the last time you used the auth/refresh endpoint. Place this in the body of your request to obtain a new access token (which is valid for an hour) and a new refresh token.
        Returns:
        refreshToken
      • setRefreshToken

        public void setRefreshToken​(String refreshToken)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object