Uses of Interface
org.keycloak.forms.login.LoginFormsProvider
-
Uses of LoginFormsProvider in org.keycloak.authentication
Modifier and TypeMethodDescriptionAuthenticationFlowContext.form()
Create a Freemarker form builder that presets the user, action URI, and a generated access codeRequiredActionContext.form()
Create a Freemarker form builder that presets the user, action URI, and a generated access codeModifier and TypeMethodDescriptionvoid
FormAction.buildPage
(FormContext context, LoginFormsProvider form) When a FormAuthenticator is rendering the challenge page, even FormAction.buildPage() method will be called This gives the FormAction the opportunity to add additional attributes to the form to be displayed.jakarta.ws.rs.core.Response
FormAuthenticator.render
(FormContext context, LoginFormsProvider form) Called to render the FormAuthenticator's challenge page. -
Uses of LoginFormsProvider in org.keycloak.forms.login
Modifier and TypeMethodDescriptionLoginFormsProvider.addError
(FormMessage errorMessage) LoginFormsProvider.addSuccess
(FormMessage errorMessage) Add a success message to the formLoginFormsProvider.setAccessRequest
(List<AuthorizationDetails> clientScopesRequested) LoginFormsProvider.setActionUri
(URI requestUri) LoginFormsProvider.setAttribute
(String name, Object value) LoginFormsProvider.setAuthContext
(AuthenticationFlowContext context) LoginFormsProvider.setAuthenticationSession
(AuthenticationSessionModel authenticationSession) LoginFormsProvider.setClientSessionCode
(String accessCode) LoginFormsProvider.setDetachedAuthSession()
Used when authenticationSession was already removed for this browser session and hence we don't have any authenticationSession or user data.Set one global error message.LoginFormsProvider.setErrors
(List<FormMessage> messages) Set multiple error messages.LoginFormsProvider.setExecution
(String execution) LoginFormsProvider.setFormData
(jakarta.ws.rs.core.MultivaluedMap<String, String> formData) LoginFormsProvider.setMessage
(MessageType type, String message, Object... parameters) LoginFormsProvider.setResponseHeader
(String headerName, String headerValue) LoginFormsProvider.setStatus
(jakarta.ws.rs.core.Response.Status status) LoginFormsProvider.setSuccess
(String message, Object... parameters)