public interface FormContext
Modifier and Type | Method and Description |
---|---|
AuthenticationSessionModel |
getAuthenticationSession()
AuthenticationSessionModel attached to this flow
|
AuthenticatorConfigModel |
getAuthenticatorConfig()
Get any configuration associated with the current execution
|
ClientConnection |
getConnection()
Information about the IP address from the connecting HTTP client.
|
EventBuilder |
getEvent()
Current event builder being used
|
AuthenticationExecutionModel |
getExecution()
The current execution in the flow
|
org.jboss.resteasy.spi.HttpRequest |
getHttpRequest() |
RealmModel |
getRealm()
Current realm
|
KeycloakSession |
getSession()
Current session
|
javax.ws.rs.core.UriInfo |
getUriInfo()
UriInfo of the current request
|
UserModel |
getUser()
Current user attached to this flow.
|
EventBuilder |
newEvent()
Create a refresh new EventBuilder to use within this context
|
void |
setUser(UserModel user)
Attach a specific user to this flow.
|
EventBuilder getEvent()
EventBuilder newEvent()
AuthenticationExecutionModel getExecution()
UserModel getUser()
void setUser(UserModel user)
user
- RealmModel getRealm()
AuthenticationSessionModel getAuthenticationSession()
ClientConnection getConnection()
javax.ws.rs.core.UriInfo getUriInfo()
KeycloakSession getSession()
org.jboss.resteasy.spi.HttpRequest getHttpRequest()
AuthenticatorConfigModel getAuthenticatorConfig()
Copyright © 2021 JBoss by Red Hat. All rights reserved.