implementation of com.nimbusds.oauth2.sdk SuccessResponse and others for Refresh token?

Issue #409 closed
RobertoP created an issue

Hi,

I have to implement a refresh token flow in asgardeo-java-oidc-sdk development code, and i want to handle server to server comunication getting a new access token. The input is the RefreshToken object.

But i cant find implementation of RefreshTokenSuccessResponse and RefreshTokenResponse.

Where can i find them?

These class are similar to AuthorizationSuccessResponse and AuthorizationResponse.
I can find only com.nimbusds.oauth2.sdk.token.RefreshToken and com.nimbusds.oauth2.sdk.RefreshTokenGrant ..

Someone have some work in progress ?

Thanks

see example classes attached

thank you very much and Good Year to all!

bye

Roberto

Comments (1)

  1. Vladimir Dzhuvinov

    Hi Roberto,

    The correct classes for dealing with those cases are AccessTokenResponse and TokenErrorResponse (both inherit from TokenResponse).

  2. Log in to comment