Uses of Interface
org.keycloak.forms.login.LoginFormsProvider
Package
Description
-
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 codeAuthenticationProcessor.Result.form()
RequiredActionContext.form()
Create a Freemarker form builder that presets the user, action URI, and a generated access codeRequiredActionContextResult.form()
Modifier 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.authentication.authenticators.broker
Modifier and TypeMethodDescriptionprotected LoginFormsProvider
IdpUsernamePasswordForm.setupForm
(AuthenticationFlowContext context, jakarta.ws.rs.core.MultivaluedMap<String, String> formData, Optional<UserModel> existingUser) -
Uses of LoginFormsProvider in org.keycloak.authentication.authenticators.browser
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.Response
AbstractUsernameFormAuthenticator.createLoginForm
(LoginFormsProvider form) protected jakarta.ws.rs.core.Response
OTPFormAuthenticator.createLoginForm
(LoginFormsProvider form) protected jakarta.ws.rs.core.Response
PasswordForm.createLoginForm
(LoginFormsProvider form) protected jakarta.ws.rs.core.Response
UsernameForm.createLoginForm
(LoginFormsProvider form) -
Uses of LoginFormsProvider in org.keycloak.authentication.forms
Modifier and TypeMethodDescriptionvoid
RegistrationPassword.buildPage
(FormContext context, LoginFormsProvider form) void
RegistrationRecaptcha.buildPage
(FormContext context, LoginFormsProvider form) void
RegistrationTermsAndConditions.buildPage
(FormContext context, LoginFormsProvider form) void
RegistrationUserCreation.buildPage
(FormContext context, LoginFormsProvider form) jakarta.ws.rs.core.Response
RegistrationPage.render
(FormContext context, LoginFormsProvider form) -
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) -
Uses of LoginFormsProvider in org.keycloak.forms.login.freemarker
Modifier and TypeMethodDescriptionFreeMarkerLoginFormsProvider.addError
(FormMessage errorMessage) FreeMarkerLoginFormsProvider.addSuccess
(FormMessage errorMessage) FreeMarkerLoginFormsProviderFactory.create
(KeycloakSession session) FreeMarkerLoginFormsProvider.setAccessRequest
(List<AuthorizationDetails> clientScopesRequested) FreeMarkerLoginFormsProvider.setActionUri
(URI actionUri) FreeMarkerLoginFormsProvider.setAttribute
(String name, Object value) FreeMarkerLoginFormsProvider.setAuthContext
(AuthenticationFlowContext context) FreeMarkerLoginFormsProvider.setAuthenticationSession
(AuthenticationSessionModel authenticationSession) FreeMarkerLoginFormsProvider.setClientSessionCode
(String accessCode) FreeMarkerLoginFormsProvider.setDetachedAuthSession()
FreeMarkerLoginFormsProvider.setErrors
(List<FormMessage> messages) FreeMarkerLoginFormsProvider.setExecution
(String execution) FreeMarkerLoginFormsProvider.setMessage
(MessageType type, String message, Object... parameters) FreeMarkerLoginFormsProvider.setResponseHeader
(String headerName, String headerValue) FreeMarkerLoginFormsProvider.setStatus
(jakarta.ws.rs.core.Response.Status status)