keycloak
|
This interface encapsulates information about an execution in an AuthenticationFlow. It is also used to set the status of the execution being performed.
void org.keycloak.authentication.AuthenticationFlowContext.attachUserSession | ( | UserSessionModel | userSession | ) |
|
inherited |
There was no failure or challenge. The authenticator was attempted, but not fulfilled. If the current execution requirement is alternative or optional, then this status is ignored by the flow.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AuthenticationFlowContext.cancelLogin | ( | ) |
End the flow and redirect browser based on protocol specific respones. This should only be executed in browser-based flows.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
Sends a challenge response back to the HTTP client. If the current execution requirement is optional, this response will not be sent. If the current execution requirement is alternative, then this challenge will be sent if no other alternative execution was successful.
challenge |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AuthenticationFlowContext.clearUser | ( | ) |
Clear the user from the flow.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
Aborts the current flow
error |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
Aborts the current flow.
error | |
response | Response that will be sent back to HTTP client |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
Same behavior as forceChallenge(), but the error count in brute force attack detection will be incremented. For example, if a user enters in a bad password, the user is directed to try again, but Keycloak will keep track of how many failures have happened.
error | |
challenge |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
Sends the challenge back to the HTTP client irregardless of the current executionr requirement
challenge |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AuthenticationFlowContext.fork | ( | ) |
Fork the current flow. The authentication session will be cloned and set to point at the realm's browser login flow. The Response will be the result of this fork. The previous flow will still be set at the current execution. This is used by reset password when it sends an email. It sends an email linking to the current flow and redirects the browser to a new browser login flow.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AuthenticationFlowContext.forkWithErrorMessage | ( | FormMessage | message | ) |
Fork the current flow. The authentication session will be cloned and set to point at the realm's browser login flow. The Response will be the result of this fork. The previous flow will still be set at the current execution. This is used by reset password when it sends an email. It sends an email linking to the current flow and redirects the browser to a new browser login flow.
This method will set up an error message that will be displayed in the first page of the new flow
message | Corresponds to raw text or a message property defined in a message bundle |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AuthenticationFlowContext.forkWithSuccessMessage | ( | FormMessage | message | ) |
Fork the current flow. The authentication session will be cloned and set to point at the realm's browser login flow. The Response will be the result of this fork. The previous flow will still be set at the current execution. This is used by reset password when it sends an email. It sends an email linking to the current flow and redirects the browser to a new browser login flow.
This method will set up a success message that will be displayed in the first page of the new flow
message | Corresponds to raw text or a message property defined in a message bundle |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
LoginFormsProvider org.keycloak.authentication.AuthenticationFlowContext.form | ( | ) |
Create a Freemarker form builder that presets the user, action URI, and a generated access code
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
Generates access code and updates clientsession timestamp Access codes must be included in form action callbacks as a query parameter.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
URI org.keycloak.authentication.AuthenticationFlowContext.getActionTokenUrl | ( | String | tokenString | ) |
Get the action URL for the action token executor.
tokenString | String representation (JWT) of action token |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
URI org.keycloak.authentication.AuthenticationFlowContext.getActionUrl | ( | String | code | ) |
Get the action URL for the required action.
code | authentication session access code |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
URI org.keycloak.authentication.AuthenticationFlowContext.getActionUrl | ( | String | code, |
boolean | authSessionIdParam | ||
) |
Get the action URL for the required action.
code | authentication session access code |
authSessionIdParam | will include auth_session query param for clients that don't process cookies |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
AuthenticationSessionModel org.keycloak.authentication.AuthenticationFlowContext.getAuthenticationSession | ( | ) |
AuthenticationSessionModel attached to this flow
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
Get any configuration associated with the current execution
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
|
inherited |
Information about the IP address from the connecting HTTP client.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
Get the error condition of a failed execution.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
Current event builder being used
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
The current execution in the flow
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
This could be an error message forwarded from another authenticator that is restarting or continuing the flo. For example the brokering API sends this when the broker failed authentication and we want to continue authentication locally. forwardedErrorMessage can then be displayed by whatever form is challenging.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
This could be an success message forwarded from another authenticator that is restarting or continuing the flow. For example a reset password sends an email, then resets the flow with a success message. forwardedSuccessMessage can then be displayed by whatever form is challenging.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
|
inherited |
|
inherited |
URI org.keycloak.authentication.AuthenticationFlowContext.getRefreshExecutionUrl | ( | ) |
Get the refresh URL for the required action.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
URI org.keycloak.authentication.AuthenticationFlowContext.getRefreshUrl | ( | boolean | authSessionIdParam | ) |
Get the refresh URL for the flow.
authSessionIdParam | will include auth_session query param for clients that don't process cookies |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
|
inherited |
Get the current status of the current execution.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
UriInfo of the current request
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
UserModel org.keycloak.authentication.AuthenticationFlowContext.getUser | ( | ) |
Current user attached to this flow. It can return null if no user has been identified yet
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
Create a refresh new EventBuilder to use within this context
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AuthenticationFlowContext.resetFlow | ( | ) |
Reset the current flow to the beginning and restarts it.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AuthenticationFlowContext.resetFlow | ( | Runnable | afterResetListener | ) |
Reset the current flow to the beginning and restarts it. Allows to add additional listener, which is triggered after flow restarted
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AuthenticationFlowContext.setUser | ( | UserModel | user | ) |
Attach a specific user to this flow.
user |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
|
inherited |
Mark the current execution as successful. The flow will then continue
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。