Class AccessInteract
This class defines how a client can interact with the authorization server to obtain consent from the resource owner. It specifies the interaction methods that the client supports and how the authorization server should communicate the results back to the client.
The interaction flow in GNAP typically involves:
- The client specifies supported interaction methods (start)
- The authorization server chooses one and initiates user interaction
- The user completes the interaction (consent, authentication, etc.)
- The authorization server communicates the result back (finish)
- Since:
- 1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionOptional specification for how the authorization server should communicate the interaction result back to the client.The interaction methods that the client supports. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
start
The interaction methods that the client supports.This list contains the interaction methods that the client is capable of handling. Common interaction methods include:
- "redirect" - Browser-based redirect interaction
- "app" - Application-based interaction
- "device" - Device flow interaction
- "user_code" - User code-based interaction
The authorization server will choose one of these methods to initiate the interaction with the resource owner.
Example: ["redirect", "app"]
-
finish
Optional specification for how the authorization server should communicate the interaction result back to the client.This field defines the mechanism that the authorization server should use to notify the client when the interaction is complete. If not specified, the client may need to poll the authorization server or use other means to determine when the interaction is finished.
- See Also:
-
-
Constructor Details
-
AccessInteract
public AccessInteract()
-