Class InteractContinue

java.lang.Object
io.fliqa.client.interledger.model.InteractContinue

public class InteractContinue extends Object
Represents the continuation response from an interaction in the GNAP protocol.

This class contains the information returned by the authorization server after a user interaction has been completed. It includes the interaction token that can be used to continue the grant process and the redirect URI where the user was sent after completing the interaction.

The interact continuation is used to bridge the gap between the user interaction phase and the token grant phase in the GNAP flow. After the user completes the required interaction (such as authentication or consent), the authorization server provides this information to allow the client to continue and complete the access grant process.

Since:
1.0
See Also:
  • Field Details

    • token

      public String token
      The interaction token provided by the authorization server.

      This token represents the completed user interaction and can be used by the client to continue the grant process. The token is typically provided by the authorization server after the user has successfully completed the required interaction steps.

      The client should use this token when making subsequent requests to the authorization server to complete the access grant process.

      Example: "K2BBQgDjAyvb92jhb3R43Wd2NTWoUQgB"

    • redirect

      public URI redirect
      The redirect URI where the user was sent after completing the interaction.

      This URI indicates where the user was redirected after completing the required interaction with the authorization server. It typically contains additional information or parameters that were appended by the authorization server to communicate the result of the interaction.

      The client can use this information to understand the context of the completed interaction and to continue the grant process accordingly.

      Example: "https://client.example.com/callback?state=12345&interact_ref=abc123"

  • Constructor Details

    • InteractContinue

      public InteractContinue()