public final class TreeContext extends Object
Constructor and Description |
---|
TreeContext(JsonValue sharedState,
ExternalRequestContext request,
List<? extends Callback> callbacks)
Construct a tree context for the current state.
|
TreeContext(JsonValue sharedState,
ExternalRequestContext request,
List<? extends Callback> callbacks,
Optional<String> universalId)
Construct a tree context for the current state.
|
TreeContext(JsonValue sharedState,
JsonValue transientState,
ExternalRequestContext request,
List<? extends Callback> callbacks)
Construct a tree context for the current state.
|
TreeContext(JsonValue sharedState,
JsonValue transientState,
ExternalRequestContext request,
List<? extends Callback> callbacks,
Optional<String> universalId)
Construct a tree context for the current state.
|
Modifier and Type | Method and Description |
---|---|
List<? extends Callback> |
getAllCallbacks()
Gets all the callbacks sent in the request.
|
boolean |
hasCallbacks()
Check if any callbacks have been submitted in this authenticate request.
|
public TreeContext(JsonValue sharedState, ExternalRequestContext request, List<? extends Callback> callbacks)
sharedState
- The shared state.request
- The request associated with the current authentication request.callbacks
- The callbacks received in the current authentication request.public TreeContext(JsonValue sharedState, ExternalRequestContext request, List<? extends Callback> callbacks, Optional<String> universalId)
sharedState
- The shared state.request
- The request associated with the current authentication request.callbacks
- The callbacks received in the current authentication request.universalId
- The universal id of the identity object.public TreeContext(JsonValue sharedState, JsonValue transientState, ExternalRequestContext request, List<? extends Callback> callbacks)
sharedState
- The shared state.transientState
- The transient state.request
- The request associated with the current authentication request.callbacks
- The callbacks received in the current authentication request.public TreeContext(JsonValue sharedState, JsonValue transientState, ExternalRequestContext request, List<? extends Callback> callbacks, Optional<String> universalId)
sharedState
- The shared state.transientState
- The transient state.request
- The request associated with the current authentication request.callbacks
- The callbacks received in the current authentication request.universalId
- The universal id of the identity object.public List<? extends Callback> getAllCallbacks()
Use TreeContext.getCallback(Class)
in preference to this method.
public boolean hasCallbacks()
true
if there are callbacks available.Copyright © 2010-2018, ForgeRock All Rights Reserved.