## Uses of Interface
org.keycloak.models.RealmModel

- Packages that use RealmModel
  Package | Description
  --- | ---
  org.keycloak.authentication |
  org.keycloak.authentication.actiontoken |
  org.keycloak.authentication.authenticators |
  org.keycloak.authentication.authenticators.broker |
  org.keycloak.authentication.authenticators.browser |
  org.keycloak.authentication.authenticators.challenge |
  org.keycloak.authentication.authenticators.cli |
  org.keycloak.authentication.authenticators.conditional |
  org.keycloak.authentication.authenticators.console |
  org.keycloak.authentication.authenticators.directgrant |
  org.keycloak.authentication.authenticators.resetcred |
  org.keycloak.authentication.authenticators.x509 |
  org.keycloak.authentication.forms |
  org.keycloak.authentication.requiredactions.util |
  org.keycloak.authorization | Fine-grained Authorization SPI.
  org.keycloak.authorization.common |
  org.keycloak.authorization.policy.provider.js |
  org.keycloak.broker.oidc |
  org.keycloak.broker.oidc.mappers |
  org.keycloak.broker.provider |
  org.keycloak.broker.saml |
  org.keycloak.broker.saml.mappers |
  org.keycloak.component |
  org.keycloak.credential |
  org.keycloak.email |
  org.keycloak.email.freemarker |
  org.keycloak.events |
  org.keycloak.exportimport.dir |
  org.keycloak.exportimport.util |
  org.keycloak.federation.kerberos |
  org.keycloak.federation.sssd |
  org.keycloak.forms.account |
  org.keycloak.forms.account.freemarker |
  org.keycloak.forms.account.freemarker.model |
  org.keycloak.forms.login.freemarker |
  org.keycloak.forms.login.freemarker.model |
  org.keycloak.keys |
  org.keycloak.keys.loader |
  org.keycloak.locale |
  org.keycloak.migration |
  org.keycloak.migration.migrators |
  org.keycloak.models |
  org.keycloak.models.cache |
  org.keycloak.models.cache.infinispan |
  org.keycloak.models.cache.infinispan.entities |
  org.keycloak.models.credential |
  org.keycloak.models.jpa |
  org.keycloak.models.jpa.session |
  org.keycloak.models.map.authSession |
  org.keycloak.models.map.client |
  org.keycloak.models.map.group |
  org.keycloak.models.map.role |
  org.keycloak.models.map.user |
  org.keycloak.models.session |
  org.keycloak.models.sessions.infinispan |
  org.keycloak.models.sessions.infinispan.changes |
  org.keycloak.models.sessions.infinispan.changes.sessions |
  org.keycloak.models.sessions.infinispan.remotestore |
  org.keycloak.models.utils |
  org.keycloak.partialimport |
  org.keycloak.policy |
  org.keycloak.protocol |
  org.keycloak.protocol.docker |
  org.keycloak.protocol.docker.installation |
  org.keycloak.protocol.oidc |
  org.keycloak.protocol.oidc.endpoints |
  org.keycloak.protocol.oidc.installation |
  org.keycloak.protocol.oidc.mappers |
  org.keycloak.protocol.oidc.utils |
  org.keycloak.protocol.saml |
  org.keycloak.protocol.saml.installation |
  org.keycloak.protocol.saml.mappers |
  org.keycloak.protocol.saml.profile.ecp |
  org.keycloak.protocol.saml.profile.ecp.authenticator |
  org.keycloak.services |
  org.keycloak.services.clientpolicy |
  org.keycloak.services.clientpolicy.condition |
  org.keycloak.services.clientregistration |
  org.keycloak.services.clientregistration.policy |
  org.keycloak.services.clientregistration.policy.impl |
  org.keycloak.services.managers |
  org.keycloak.services.migration |
  org.keycloak.services.resources |
  org.keycloak.services.resources.account |
  org.keycloak.services.resources.admin |
  org.keycloak.services.resources.admin.permissions |
  org.keycloak.services.util |
  org.keycloak.services.validation |
  org.keycloak.sessions |
  org.keycloak.social.twitter |
  org.keycloak.storage |
  org.keycloak.storage.adapter |
  org.keycloak.storage.client |
  org.keycloak.storage.federated |
  org.keycloak.storage.group |
  org.keycloak.storage.jpa |
  org.keycloak.storage.ldap |
  org.keycloak.storage.ldap.mappers |
  org.keycloak.storage.ldap.mappers.membership |
  org.keycloak.storage.ldap.mappers.membership.group |
  org.keycloak.storage.ldap.mappers.membership.role |
  org.keycloak.storage.ldap.mappers.msad |
  org.keycloak.storage.ldap.mappers.msadlds |
  org.keycloak.storage.openshift |
  org.keycloak.storage.role |
  org.keycloak.storage.user |
  org.keycloak.theme.beans |
  org.keycloak.userprofile.utils |
  org.keycloak.userprofile.validation |
  org.keycloak.utils |

- - ### Uses of RealmModel in org.keycloak.authentication

    Fields in org.keycloak.authentication declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | RequiredActionContextResult.`realm`
    `protected RealmModel` | AuthenticationProcessor.`realm`

    Methods in org.keycloak.authentication that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | RequiredActionContext.`getRealm()`
    `RealmModel` | FormContext.`getRealm()` Current realm
    `RealmModel` | AbstractAuthenticationFlowContext.`getRealm()` Current realm
    `RealmModel` | RequiredActionContextResult.`getRealm()`
    `RealmModel` | AuthenticationProcessor.`getRealm()`
    `RealmModel` | AuthenticationProcessor.Result.`getRealm()`

    Methods in org.keycloak.authentication with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `default boolean` | Authenticator.`areRequiredActionsEnabled(KeycloakSession session, RealmModel realm)` Checks if all required actions are configured in the realm and are enabled
    `static ClientSessionContext` | AuthenticationProcessor.`attachSession(AuthenticationSessionModel authSession, UserSessionModel userSession, KeycloakSession session, RealmModel realm, ClientConnection connection, EventBuilder event)`
    `boolean` | FormAction.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)` Is this FormAction configured for the current user?
    `boolean` | Authenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)` Is this authenticator configured for this user.
    `default List<CredentialModel>` | CredentialValidator.`getCredentials(KeycloakSession session, RealmModel realm, UserModel user)`
    `AuthenticationProcessor` | AuthenticationProcessor.`setRealm(RealmModel realm)`
    `void` | FormAction.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)` Set actions to configure authenticator
    `void` | Authenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)` Set actions to configure authenticator

    Constructors in org.keycloak.authentication with parameters of type RealmModel
    Constructor and Description
    `RequiredActionContextResult(AuthenticationSessionModel authSession, RealmModel realm, EventBuilder eventBuilder, KeycloakSession session, org.jboss.resteasy.spi.HttpRequest httpRequest, UserModel user, RequiredActionFactory factory)`

  - ### Uses of RealmModel in org.keycloak.authentication.actiontoken

    Methods in org.keycloak.authentication.actiontoken that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | ActionTokenContext.`getRealm()`

    Methods in org.keycloak.authentication.actiontoken with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `String` | DefaultActionToken.`serialize(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uri)` Updates the following fields and serializes this token into a signed JWT.

    Constructors in org.keycloak.authentication.actiontoken with parameters of type RealmModel
    Constructor and Description
    `ActionTokenContext(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection, org.jboss.resteasy.spi.HttpRequest request, EventBuilder event, ActionTokenHandler<T> handler, String executionId, ActionTokenContext.ProcessAuthenticateFlow processFlow, ActionTokenContext.ProcessBrokerFlow processBrokerFlow)`

  - ### Uses of RealmModel in org.keycloak.authentication.authenticators

    Methods in org.keycloak.authentication.authenticators with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | AttemptedAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | AttemptedAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authentication.authenticators.broker

    Methods in org.keycloak.authentication.authenticators.broker with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | IdpReviewProfileAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | IdpEmailVerificationAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | IdpCreateUserIfUniqueAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | IdpConfirmLinkAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | IdpAutoLinkAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `static UserModel` | AbstractIdpAuthenticator.`getExistingUser(KeycloakSession session, RealmModel realm, AuthenticationSessionModel authSession)`
    `void` | AbstractIdpAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authentication.authenticators.browser

    Methods in org.keycloak.authentication.authenticators.browser with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | WebAuthnAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | UsernamePasswordForm.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | SpnegoAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | ScriptBasedAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | PasswordForm.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | OTPFormAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | IdentityProviderAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | CookieAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | WebAuthnPasswordlessAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | WebAuthnAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | UsernamePasswordForm.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | SpnegoAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | ScriptBasedAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | OTPFormAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | IdentityProviderAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | CookieAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | ConditionalOtpFormAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authentication.authenticators.challenge

    Methods in org.keycloak.authentication.authenticators.challenge with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | NoCookieFlowRedirectAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | BasicAuthOTPAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | BasicAuthAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | NoCookieFlowRedirectAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | BasicAuthAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authentication.authenticators.cli

    Methods in org.keycloak.authentication.authenticators.cli with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | CliUsernamePasswordAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | CliUsernamePasswordAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authentication.authenticators.conditional

    Methods in org.keycloak.authentication.authenticators.conditional with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `default boolean` | ConditionalAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | ConditionalUserConfiguredAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | ConditionalRoleAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authentication.authenticators.console

    Methods in org.keycloak.authentication.authenticators.console with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | ConsoleUsernamePasswordAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | ConsoleUsernamePasswordAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authentication.authenticators.directgrant

    Methods in org.keycloak.authentication.authenticators.directgrant with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | ValidateUsername.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | ValidatePassword.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | ValidateOTP.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | ValidateUsername.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | ValidatePassword.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | ValidateOTP.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authentication.authenticators.resetcred

    Methods in org.keycloak.authentication.authenticators.resetcred with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | ResetOTP.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | ResetCredentialEmail.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | ResetCredentialChooseUser.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | AbstractSetRequiredActionAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `static Long` | ResetCredentialEmail.`getLastChangedTimestamp(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | ResetCredentialEmail.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | ResetCredentialChooseUser.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | AbstractSetRequiredActionAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authentication.authenticators.x509

    Methods in org.keycloak.authentication.authenticators.x509 with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | AbstractX509ClientCertificateAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | AbstractX509ClientCertificateAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authentication.forms

    Methods in org.keycloak.authentication.forms with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | RegistrationUserCreation.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | RegistrationRecaptcha.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | RegistrationProfile.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | RegistrationPassword.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | RegistrationUserCreation.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | RegistrationRecaptcha.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | RegistrationProfile.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `void` | RegistrationPassword.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authentication.requiredactions.util

    Constructors in org.keycloak.authentication.requiredactions.util with parameters of type RealmModel
    Constructor and Description
    `UserUpdateProfileContext(RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authorization

    Methods in org.keycloak.authorization that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | AuthorizationProvider.`getRealm()`

    Methods in org.keycloak.authorization with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `AuthorizationProvider` | AuthorizationProviderFactory.`create(KeycloakSession session, RealmModel realm)`
    `AuthorizationProvider` | DefaultAuthorizationProviderFactory.`create(KeycloakSession session, RealmModel realm)`

    Constructors in org.keycloak.authorization with parameters of type RealmModel
    Constructor and Description
    `AuthorizationProvider(KeycloakSession session, RealmModel realm, PolicyEvaluator policyEvaluator)`

  - ### Uses of RealmModel in org.keycloak.authorization.common

    Fields in org.keycloak.authorization.common declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | UserModelIdentity.`realm`
    `protected RealmModel` | KeycloakIdentity.`realm`
    `protected RealmModel` | ClientModelIdentity.`realm`

    Constructors in org.keycloak.authorization.common with parameters of type RealmModel
    Constructor and Description
    `KeycloakIdentity(IDToken token, KeycloakSession keycloakSession, RealmModel realm)`
    `UserModelIdentity(RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.authorization.policy.provider.js

    Methods in org.keycloak.authorization.policy.provider.js with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected ScriptModel` | JSPolicyProviderFactory.`getScriptModel(Policy policy, RealmModel realm, ScriptingProvider scripting)`
    `protected ScriptModel` | DeployedScriptPolicyFactory.`getScriptModel(Policy policy, RealmModel realm, ScriptingProvider scripting)`

  - ### Uses of RealmModel in org.keycloak.broker.oidc

    Fields in org.keycloak.broker.oidc declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | AbstractOAuth2IdentityProvider.Endpoint.`realm`

    Methods in org.keycloak.broker.oidc with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | OIDCIdentityProvider.`backchannelLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)`
    `Object` | OIDCIdentityProvider.`callback(RealmModel realm, IdentityProvider.AuthenticationCallback callback, EventBuilder event)`
    `Object` | KeycloakOIDCIdentityProvider.`callback(RealmModel realm, IdentityProvider.AuthenticationCallback callback, EventBuilder event)`
    `Object` | AbstractOAuth2IdentityProvider.`callback(RealmModel realm, IdentityProvider.AuthenticationCallback callback, EventBuilder event)`
    `javax.ws.rs.core.Response` | OIDCIdentityProvider.`keycloakInitiatedBrowserLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)`
    `void` | OIDCIdentityProvider.`preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, BrokeredIdentityContext context)`
    `void` | OIDCIdentityProviderConfig.`validate(RealmModel realm)`
    `void` | OAuth2IdentityProviderConfig.`validate(RealmModel realm)`

    Constructors in org.keycloak.broker.oidc with parameters of type RealmModel
    Constructor and Description
    `Endpoint(IdentityProvider.AuthenticationCallback callback, RealmModel realm, EventBuilder event)`
    `KeycloakEndpoint(IdentityProvider.AuthenticationCallback callback, RealmModel realm, EventBuilder event)`
    `OIDCEndpoint(IdentityProvider.AuthenticationCallback callback, RealmModel realm, EventBuilder event)`

  - ### Uses of RealmModel in org.keycloak.broker.oidc.mappers

    Methods in org.keycloak.broker.oidc.mappers with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | ExternalKeycloakRoleToRoleMapper.`importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | ClaimToRoleMapper.`importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | AdvancedClaimToRoleMapper.`importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | UsernameTemplateMapper.`preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | UserAttributeMapper.`preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | AbstractJsonUserAttributeMapper.`preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | UsernameTemplateMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | UserAttributeMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | ExternalKeycloakRoleToRoleMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | ClaimToRoleMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | AdvancedClaimToRoleMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | AbstractJsonUserAttributeMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | UsernameTemplateMapper.`updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | ExternalKeycloakRoleToRoleMapper.`updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | ClaimToRoleMapper.`updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | AdvancedClaimToRoleMapper.`updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | AbstractJsonUserAttributeMapper.`updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`

  - ### Uses of RealmModel in org.keycloak.broker.provider

    Methods in org.keycloak.broker.provider that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | AuthenticationRequest.`getRealm()`

    Methods in org.keycloak.broker.provider with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | IdentityProvider.`backchannelLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)`
    `void` | AbstractIdentityProvider.`backchannelLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)`
    `Object` | IdentityProvider.`callback(RealmModel realm, IdentityProvider.AuthenticationCallback callback, EventBuilder event)` JAXRS callback endpoint for when the remote IDP wants to callback to keycloak.
    `Object` | AbstractIdentityProvider.`callback(RealmModel realm, IdentityProvider.AuthenticationCallback callback, EventBuilder event)`
    `static void` | IdentityProviderMapperSyncModeDelegate.`delegateUpdateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context, IdentityProviderMapper mapper)`
    `javax.ws.rs.core.Response` | IdentityProvider.`export(javax.ws.rs.core.UriInfo uriInfo, RealmModel realm, String format)` Export a representation of the IdentityProvider in a specific format.
    `javax.ws.rs.core.Response` | AbstractIdentityProvider.`export(javax.ws.rs.core.UriInfo uriInfo, RealmModel realm, String format)`
    `void` | IdentityProvider.`importNewUser(KeycloakSession session, RealmModel realm, UserModel user, BrokeredIdentityContext context)`
    `void` | AbstractIdentityProvider.`importNewUser(KeycloakSession session, RealmModel realm, UserModel user, BrokeredIdentityContext context)`
    `void` | IdentityProviderMapper.`importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)` Called after UserModel is created for first time for this user.
    `void` | AbstractIdentityProviderMapper.`importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | HardcodedUserSessionAttributeMapper.`importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | HardcodedRoleMapper.`importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `javax.ws.rs.core.Response` | IdentityProvider.`keycloakInitiatedBrowserLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)` Called when a Keycloak application initiates a logout through the browser.
    `javax.ws.rs.core.Response` | AbstractIdentityProvider.`keycloakInitiatedBrowserLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)`
    `void` | IdentityProvider.`preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, BrokeredIdentityContext context)`
    `void` | AbstractIdentityProvider.`preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, BrokeredIdentityContext context)`
    `void` | IdentityProviderMapper.`preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)` Called to determine what keycloak username and email to use to process the login request from the external IDP.
    `void` | AbstractIdentityProviderMapper.`preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | HardcodedUserSessionAttributeMapper.`preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | HardcodedAttributeMapper.`preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | IdentityProvider.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, BrokeredIdentityContext context)`
    `void` | AbstractIdentityProvider.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, BrokeredIdentityContext context)`
    `void` | IdentityProviderMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)` Called when this user has logged in before and has already been imported.
    `void` | AbstractIdentityProviderMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | HardcodedUserSessionAttributeMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | HardcodedRoleMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | HardcodedAttributeMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | IdentityProviderMapper.`updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)` Called when this user has logged in before and has already been imported.
    `void` | AbstractIdentityProviderMapper.`updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | HardcodedRoleMapper.`updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`

    Constructors in org.keycloak.broker.provider with parameters of type RealmModel
    Constructor and Description
    `AuthenticationRequest(KeycloakSession session, RealmModel realm, AuthenticationSessionModel authSession, org.jboss.resteasy.spi.HttpRequest httpRequest, javax.ws.rs.core.UriInfo uriInfo, IdentityBrokerState state, String redirectUri)`

  - ### Uses of RealmModel in org.keycloak.broker.saml

    Fields in org.keycloak.broker.saml declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | SAMLEndpoint.`realm`

    Methods in org.keycloak.broker.saml with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | SAMLIdentityProvider.`backchannelLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)`
    `protected LogoutRequestType` | SAMLIdentityProvider.`buildLogoutRequest(UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm, String singleLogoutServiceUrl, SamlProtocolExtensionsAwareBuilder.NodeGenerator... extensions)`
    `Object` | SAMLIdentityProvider.`callback(RealmModel realm, IdentityProvider.AuthenticationCallback callback, EventBuilder event)`
    `javax.ws.rs.core.Response` | SAMLIdentityProvider.`export(javax.ws.rs.core.UriInfo uriInfo, RealmModel realm, String format)`
    `javax.ws.rs.core.Response` | SAMLIdentityProvider.`keycloakInitiatedBrowserLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)`
    `void` | SAMLIdentityProviderConfig.`validate(RealmModel realm)`

    Constructors in org.keycloak.broker.saml with parameters of type RealmModel
    Constructor and Description
    `SAMLEndpoint(RealmModel realm, SAMLIdentityProvider provider, SAMLIdentityProviderConfig config, IdentityProvider.AuthenticationCallback callback, DestinationValidator destinationValidator)`

  - ### Uses of RealmModel in org.keycloak.broker.saml.mappers

    Methods in org.keycloak.broker.saml.mappers with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | AttributeToRoleMapper.`importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | AdvancedAttributeToRoleMapper.`importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | UsernameTemplateMapper.`preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | UserAttributeMapper.`preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | UsernameTemplateMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | UserAttributeMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | AttributeToRoleMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | AdvancedAttributeToRoleMapper.`updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`
    `void` | UsernameTemplateMapper.`updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)`

  - ### Uses of RealmModel in org.keycloak.component

    Methods in org.keycloak.component with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `default List<ProviderConfigProperty>` | SubComponentFactory.`getConfigProperties(RealmModel realm, ComponentModel parent)`
    `default Map<String,Object>` | SubComponentFactory.`getTypeMetadata(RealmModel realm, ComponentModel parent)` This is metadata about this component type.
    `default void` | ComponentFactory.`onCreate(KeycloakSession session, RealmModel realm, ComponentModel model)` Called after a component is created
    `default void` | ComponentFactory.`onUpdate(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel)` Called after the component is updated.
    `default void` | ComponentFactory.`preRemove(KeycloakSession session, RealmModel realm, ComponentModel model)` Called before the component is removed.
    `default void` | ComponentFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel model)` Called before a component is created or updated.

  - ### Uses of RealmModel in org.keycloak.credential

    Methods in org.keycloak.credential with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `CredentialValidationOutput` | UserCredentialStoreManager.`authenticate(KeycloakSession session, RealmModel realm, CredentialInput input)`
    `CredentialValidationOutput` | CredentialAuthentication.`authenticate(RealmModel realm, CredentialInput input)`
    `CredentialModel` | UserCredentialStore.`createCredential(RealmModel realm, UserModel user, CredentialModel cred)`
    `CredentialModel` | UserCredentialStoreManager.`createCredential(RealmModel realm, UserModel user, CredentialModel cred)`
    `CredentialModel` | OTPCredentialProvider.`createCredential(RealmModel realm, UserModel user, OTPCredentialModel credentialModel)`
    `CredentialModel` | PasswordCredentialProvider.`createCredential(RealmModel realm, UserModel user, PasswordCredentialModel credentialModel)`
    `boolean` | PasswordCredentialProvider.`createCredential(RealmModel realm, UserModel user, String password)`
    `CredentialModel` | CredentialProvider.`createCredential(RealmModel realm, UserModel user, T credentialModel)`
    `CredentialModel` | WebAuthnCredentialProvider.`createCredential(RealmModel realm, UserModel user, WebAuthnCredentialModel credentialModel)`
    `CredentialModel` | UserCredentialStoreManager.`createCredentialThroughProvider(RealmModel realm, UserModel user, CredentialModel model)`
    `boolean` | CredentialProvider.`deleteCredential(RealmModel realm, UserModel user, String credentialId)`
    `boolean` | WebAuthnCredentialProvider.`deleteCredential(RealmModel realm, UserModel user, String credentialId)`
    `boolean` | PasswordCredentialProvider.`deleteCredential(RealmModel realm, UserModel user, String credentialId)`
    `boolean` | OTPCredentialProvider.`deleteCredential(RealmModel realm, UserModel user, String credentialId)`
    `void` | CredentialInputUpdater.`disableCredentialType(RealmModel realm, UserModel user, String credentialType)`
    `void` | UserCredentialStoreManager.`disableCredentialType(RealmModel realm, UserModel user, String credentialType)`
    `void` | PasswordCredentialProvider.`disableCredentialType(RealmModel realm, UserModel user, String credentialType)`
    `Stream<String>` | UserCredentialStoreManager.`getConfiguredUserStorageCredentialTypesStream(RealmModel realm, UserModel user)`
    `default T` | CredentialProvider.`getDefaultCredential(KeycloakSession session, RealmModel realm, UserModel user)`
    `Set<String>` | CredentialInputUpdater.`getDisableableCredentialTypes(RealmModel realm, UserModel user)` Deprecated. Use `getDisableableCredentialTypesStream` instead.
    `default Set<String>` | CredentialInputUpdater.Streams.`getDisableableCredentialTypes(RealmModel realm, UserModel user)`
    `default Stream<String>` | CredentialInputUpdater.`getDisableableCredentialTypesStream(RealmModel realm, UserModel user)` Obtains the set of credential types that can be disabled via `disableCredentialType`.
    `Stream<String>` | CredentialInputUpdater.Streams.`getDisableableCredentialTypesStream(RealmModel realm, UserModel user)`
    `Stream<String>` | UserCredentialStoreManager.`getDisableableCredentialTypesStream(RealmModel realm, UserModel user)`
    `Stream<String>` | PasswordCredentialProvider.`getDisableableCredentialTypesStream(RealmModel realm, UserModel user)`
    `PasswordCredentialModel` | PasswordCredentialProvider.`getPassword(RealmModel realm, UserModel user)`
    `CredentialModel` | UserCredentialStore.`getStoredCredentialById(RealmModel realm, UserModel user, String id)`
    `CredentialModel` | UserCredentialStoreManager.`getStoredCredentialById(RealmModel realm, UserModel user, String id)`
    `CredentialModel` | UserCredentialStore.`getStoredCredentialByNameAndType(RealmModel realm, UserModel user, String name, String type)`
    `CredentialModel` | UserCredentialStoreManager.`getStoredCredentialByNameAndType(RealmModel realm, UserModel user, String name, String type)`
    `List<CredentialModel>` | UserCredentialStore.`getStoredCredentials(RealmModel realm, UserModel user)` Deprecated. Use `getStoredCredentialsStream` instead.
    `default List<CredentialModel>` | UserCredentialStore.Streams.`getStoredCredentials(RealmModel realm, UserModel user)`
    `List<CredentialModel>` | UserCredentialStore.`getStoredCredentialsByType(RealmModel realm, UserModel user, String type)` Deprecated. Use `getStoredCredentialsByTypeStream` instead.
    `default List<CredentialModel>` | UserCredentialStore.Streams.`getStoredCredentialsByType(RealmModel realm, UserModel user, String type)`
    `default Stream<CredentialModel>` | UserCredentialStore.`getStoredCredentialsByTypeStream(RealmModel realm, UserModel user, String type)` Obtains the stored credentials associated with the specified user that match the specified type.
    `Stream<CredentialModel>` | UserCredentialStore.Streams.`getStoredCredentialsByTypeStream(RealmModel realm, UserModel user, String type)`
    `Stream<CredentialModel>` | UserCredentialStoreManager.`getStoredCredentialsByTypeStream(RealmModel realm, UserModel user, String type)`
    `default Stream<CredentialModel>` | UserCredentialStore.`getStoredCredentialsStream(RealmModel realm, UserModel user)` Obtains the stored credentials associated with the specified user.
    `Stream<CredentialModel>` | UserCredentialStore.Streams.`getStoredCredentialsStream(RealmModel realm, UserModel user)`
    `Stream<CredentialModel>` | UserCredentialStoreManager.`getStoredCredentialsStream(RealmModel realm, UserModel user)`
    `boolean` | OTPCredentialProvider.`isConfiguredFor(RealmModel realm, UserModel user)`
    `boolean` | CredentialInputValidator.`isConfiguredFor(RealmModel realm, UserModel user, String credentialType)`
    `boolean` | WebAuthnCredentialProvider.`isConfiguredFor(RealmModel realm, UserModel user, String credentialType)`
    `boolean` | UserCredentialStoreManager.`isConfiguredFor(RealmModel realm, UserModel user, String type)`
    `boolean` | PasswordCredentialProvider.`isConfiguredFor(RealmModel realm, UserModel user, String credentialType)`
    `boolean` | OTPCredentialProvider.`isConfiguredFor(RealmModel realm, UserModel user, String credentialType)`
    `boolean` | UserCredentialStoreManager.`isConfiguredLocally(RealmModel realm, UserModel user, String type)`
    `boolean` | UserCredentialStoreManager.`isValid(RealmModel realm, UserModel user, CredentialInput... inputs)`
    `boolean` | CredentialInputValidator.`isValid(RealmModel realm, UserModel user, CredentialInput credentialInput)` Tests whether a credential is valid
    `boolean` | WebAuthnCredentialProvider.`isValid(RealmModel realm, UserModel user, CredentialInput input)`
    `boolean` | PasswordCredentialProvider.`isValid(RealmModel realm, UserModel user, CredentialInput input)`
    `boolean` | OTPCredentialProvider.`isValid(RealmModel realm, UserModel user, CredentialInput credentialInput)`
    `boolean` | UserCredentialStoreManager.`isValid(RealmModel realm, UserModel user, List<CredentialInput> inputs)`
    `boolean` | UserCredentialStore.`moveCredentialTo(RealmModel realm, UserModel user, String id, String newPreviousCredentialId)`
    `boolean` | UserCredentialStoreManager.`moveCredentialTo(RealmModel realm, UserModel user, String id, String newPreviousCredentialId)`
    `void` | UserCredentialStoreManager.`onCache(RealmModel realm, CachedUserModel user, UserModel delegate)`
    `void` | PasswordCredentialProvider.`onCache(RealmModel realm, CachedUserModel user, UserModel delegate)`
    `boolean` | UserCredentialStore.`removeStoredCredential(RealmModel realm, UserModel user, String id)`
    `boolean` | UserCredentialStoreManager.`removeStoredCredential(RealmModel realm, UserModel user, String id)`
    `boolean` | CredentialInputUpdater.`updateCredential(RealmModel realm, UserModel user, CredentialInput input)`
    `boolean` | UserCredentialStoreManager.`updateCredential(RealmModel realm, UserModel user, CredentialInput input)`
    `boolean` | PasswordCredentialProvider.`updateCredential(RealmModel realm, UserModel user, CredentialInput input)`
    `void` | UserCredentialStore.`updateCredential(RealmModel realm, UserModel user, CredentialModel cred)`
    `void` | UserCredentialStoreManager.`updateCredential(RealmModel realm, UserModel user, CredentialModel cred)`
    `void` | UserCredentialStoreManager.`updateCredentialLabel(RealmModel realm, UserModel user, String credentialId, String userLabel)`

  - ### Uses of RealmModel in org.keycloak.email

    Methods in org.keycloak.email with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `EmailTemplateProvider` | EmailTemplateProvider.`setRealm(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.email.freemarker

    Fields in org.keycloak.email.freemarker declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | FreeMarkerEmailTemplateProvider.`realm`

    Methods in org.keycloak.email.freemarker with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `EmailTemplateProvider` | FreeMarkerEmailTemplateProvider.`setRealm(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.events

    Methods in org.keycloak.events with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `EventBuilder` | EventBuilder.`realm(RealmModel realm)`

    Constructors in org.keycloak.events with parameters of type RealmModel
    Constructor and Description
    `EventBuilder(RealmModel realm, KeycloakSession session, ClientConnection clientConnection)`

  - ### Uses of RealmModel in org.keycloak.exportimport.dir

    Methods in org.keycloak.exportimport.dir with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | DirExportProvider.`writeFederatedUsers(String fileName, KeycloakSession session, RealmModel realm, List<String> users)`
    `protected void` | DirExportProvider.`writeUsers(String fileName, KeycloakSession session, RealmModel realm, List<UserModel> users)`

  - ### Uses of RealmModel in org.keycloak.exportimport.util

    Methods in org.keycloak.exportimport.util with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static MultivaluedHashMap<String,ComponentExportRepresentation>` | ExportUtils.`exportComponents(RealmModel realm, String parentId)`
    `static UserRepresentation` | ExportUtils.`exportFederatedUser(KeycloakSession session, RealmModel realm, String id, ExportOptions options)` Full export of user data stored in federated storage (including role mappings and credentials)
    `static void` | ExportUtils.`exportFederatedUsersToStream(KeycloakSession session, RealmModel realm, List<String> usersToExport, com.fasterxml.jackson.databind.ObjectMapper mapper, OutputStream os)`
    `static void` | ExportUtils.`exportFederatedUsersToStream(KeycloakSession session, RealmModel realm, List<String> usersToExport, com.fasterxml.jackson.databind.ObjectMapper mapper, OutputStream os, ExportOptions options)`
    `static RealmRepresentation` | ExportUtils.`exportRealm(KeycloakSession session, RealmModel realm, boolean includeUsers, boolean internal)`
    `static RealmRepresentation` | ExportUtils.`exportRealm(KeycloakSession session, RealmModel realm, ExportOptions options, boolean internal)`
    `static UserRepresentation` | ExportUtils.`exportUser(KeycloakSession session, RealmModel realm, UserModel user, ExportOptions options, boolean internal)` Full export of user (including role mappings and credentials)
    `static void` | ExportUtils.`exportUsersToStream(KeycloakSession session, RealmModel realm, List<UserModel> usersToExport, com.fasterxml.jackson.databind.ObjectMapper mapper, OutputStream os)`
    `static void` | ExportUtils.`exportUsersToStream(KeycloakSession session, RealmModel realm, List<UserModel> usersToExport, com.fasterxml.jackson.databind.ObjectMapper mapper, OutputStream os, ExportOptions options)`
    `protected abstract void` | MultipleStepsExportProvider.`writeFederatedUsers(String fileName, KeycloakSession session, RealmModel realm, List<String> users)`
    `protected abstract void` | MultipleStepsExportProvider.`writeUsers(String fileName, KeycloakSession session, RealmModel realm, List<UserModel> users)`

  - ### Uses of RealmModel in org.keycloak.federation.kerberos

    Methods in org.keycloak.federation.kerberos with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `CredentialValidationOutput` | KerberosFederationProvider.`authenticate(RealmModel realm, CredentialInput input)`
    `void` | KerberosFederationProvider.`disableCredentialType(RealmModel realm, UserModel user, String credentialType)`
    `protected UserModel` | KerberosFederationProvider.`findOrCreateAuthenticatedUser(RealmModel realm, String username)` Called after successful authentication
    `Stream<String>` | KerberosFederationProvider.`getDisableableCredentialTypesStream(RealmModel realm, UserModel user)`
    `UserModel` | KerberosFederationProvider.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | KerberosFederationProvider.`getUserById(String id, RealmModel realm)`
    `UserModel` | KerberosFederationProvider.`getUserByUsername(String username, RealmModel realm)`
    `protected UserModel` | KerberosFederationProvider.`importUserToKeycloak(RealmModel realm, String username)`
    `boolean` | KerberosFederationProvider.`isConfiguredFor(RealmModel realm, UserModel user, String credentialType)`
    `boolean` | KerberosFederationProvider.`isValid(RealmModel realm, UserModel local)`
    `boolean` | KerberosFederationProvider.`isValid(RealmModel realm, UserModel user, CredentialInput input)`
    `void` | KerberosFederationProviderFactory.`onCreate(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | KerberosFederationProviderFactory.`onUpdate(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel)`
    `void` | KerberosFederationProviderFactory.`preRemove(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | KerberosFederationProvider.`preRemove(RealmModel realm)`
    `void` | KerberosFederationProvider.`preRemove(RealmModel realm, GroupModel group)`
    `void` | KerberosFederationProvider.`preRemove(RealmModel realm, RoleModel role)`
    `boolean` | KerberosFederationProvider.`updateCredential(RealmModel realm, UserModel user, CredentialInput input)`
    `UserModel` | KerberosFederationProvider.`validate(RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.federation.sssd

    Methods in org.keycloak.federation.sssd with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | SSSDFederationProvider.`disableCredentialType(RealmModel realm, UserModel user, String credentialType)`
    `protected UserModel` | SSSDFederationProvider.`findOrCreateAuthenticatedUser(RealmModel realm, String username)` Called after successful authentication
    `Stream<String>` | SSSDFederationProvider.`getDisableableCredentialTypesStream(RealmModel realm, UserModel user)`
    `UserModel` | SSSDFederationProvider.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | SSSDFederationProvider.`getUserById(String id, RealmModel realm)`
    `UserModel` | SSSDFederationProvider.`getUserByUsername(String username, RealmModel realm)`
    `protected UserModel` | SSSDFederationProvider.`importUserToKeycloak(RealmModel realm, String username)`
    `boolean` | SSSDFederationProvider.`isConfiguredFor(RealmModel realm, UserModel user, String credentialType)`
    `boolean` | SSSDFederationProvider.`isValid(RealmModel realm, UserModel local)`
    `boolean` | SSSDFederationProvider.`isValid(RealmModel realm, UserModel user, CredentialInput input)`
    `void` | SSSDFederationProvider.`preRemove(RealmModel realm)`
    `void` | SSSDFederationProvider.`preRemove(RealmModel realm, GroupModel group)`
    `void` | SSSDFederationProvider.`preRemove(RealmModel realm, RoleModel role)`
    `boolean` | SSSDFederationProvider.`updateCredential(RealmModel realm, UserModel user, CredentialInput input)`
    `UserModel` | SSSDFederationProvider.`validate(RealmModel realm, UserModel user)`
    `UserModel` | SSSDFederationProvider.`validateAndProxy(RealmModel realm, UserModel local)`

  - ### Uses of RealmModel in org.keycloak.forms.account

    Methods in org.keycloak.forms.account with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `AccountProvider` | AccountProvider.`setRealm(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.forms.account.freemarker

    Fields in org.keycloak.forms.account.freemarker declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | FreeMarkerAccountProvider.`realm`

    Methods in org.keycloak.forms.account.freemarker with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `AccountProvider` | FreeMarkerAccountProvider.`setRealm(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.forms.account.freemarker.model

    Constructors in org.keycloak.forms.account.freemarker.model with parameters of type RealmModel
    Constructor and Description
    `AccountFederatedIdentityBean(KeycloakSession session, RealmModel realm, UserModel user, URI baseUri, String stateChecker)`
    `ApplicationsBean(KeycloakSession session, RealmModel realm, UserModel user)`
    `RealmBean(RealmModel realmModel)`
    `SessionsBean(RealmModel realm, List<UserSessionModel> sessions)`
    `TotpBean(KeycloakSession session, RealmModel realm, UserModel user, javax.ws.rs.core.UriBuilder uriBuilder)`
    `UrlBean(RealmModel realm, Theme theme, URI baseURI, URI baseQueryURI, URI currentURI, String stateChecker)`
    `UserSessionBean(RealmModel realm, UserSessionModel session)`

  - ### Uses of RealmModel in org.keycloak.forms.login.freemarker

    Fields in org.keycloak.forms.login.freemarker declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | FreeMarkerLoginFormsProvider.`realm`

    Methods in org.keycloak.forms.login.freemarker with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static List<IdentityProviderModel>` | LoginFormsUtil.`filterIdentityProvidersByUser(List<IdentityProviderModel> providers, KeycloakSession session, RealmModel realm, Map<String,Object> attributes, javax.ws.rs.core.MultivaluedMap<String,String> formData)`

    Constructors in org.keycloak.forms.login.freemarker with parameters of type RealmModel
    Constructor and Description
    `AuthenticatorConfiguredMethod(RealmModel realm, UserModel user, KeycloakSession session)`

  - ### Uses of RealmModel in org.keycloak.forms.login.freemarker.model

    Constructors in org.keycloak.forms.login.freemarker.model with parameters of type RealmModel
    Constructor and Description
    `IdentityProviderBean(RealmModel realm, KeycloakSession session, List<IdentityProviderModel> identityProviders, URI baseURI)`
    `RealmBean(RealmModel realmModel)`
    `RequiredActionUrlFormatterMethod(RealmModel realm, URI baseUri)`
    `TotpBean(KeycloakSession session, RealmModel realm, UserModel user, javax.ws.rs.core.UriBuilder uriBuilder)`
    `TotpLoginBean(KeycloakSession session, RealmModel realm, UserModel user, String selectedCredentialId)`
    `UrlBean(RealmModel realm, Theme theme, URI baseURI, URI actionUri)`
    `WebAuthnAuthenticatorsBean(KeycloakSession session, RealmModel realm, UserModel user, String credentialType)`

  - ### Uses of RealmModel in org.keycloak.keys

    Methods in org.keycloak.keys with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `KeyManager.ActiveAesKey` | DefaultKeyManager.`getActiveAesKey(RealmModel realm)` Deprecated.
    `KeyManager.ActiveHmacKey` | DefaultKeyManager.`getActiveHmacKey(RealmModel realm)` Deprecated.
    `KeyWrapper` | DefaultKeyManager.`getActiveKey(RealmModel realm, KeyUse use, String algorithm)`
    `KeyManager.ActiveRsaKey` | DefaultKeyManager.`getActiveRsaKey(RealmModel realm)` Deprecated.
    `List<SecretKeyMetadata>` | DefaultKeyManager.`getAesKeys(RealmModel realm)`
    `SecretKey` | DefaultKeyManager.`getAesSecretKey(RealmModel realm, String kid)` Deprecated.
    `List<SecretKeyMetadata>` | DefaultKeyManager.`getHmacKeys(RealmModel realm)`
    `SecretKey` | DefaultKeyManager.`getHmacSecretKey(RealmModel realm, String kid)` Deprecated.
    `KeyWrapper` | DefaultKeyManager.`getKey(RealmModel realm, String kid, KeyUse use, String algorithm)`
    `Stream<KeyWrapper>` | DefaultKeyManager.`getKeysStream(RealmModel realm)`
    `Stream<KeyWrapper>` | DefaultKeyManager.`getKeysStream(RealmModel realm, KeyUse use, String algorithm)`
    `Certificate` | DefaultKeyManager.`getRsaCertificate(RealmModel realm, String kid)` Deprecated.
    `List<RsaKeyMetadata>` | DefaultKeyManager.`getRsaKeys(RealmModel realm)` Deprecated.
    `PublicKey` | DefaultKeyManager.`getRsaPublicKey(RealmModel realm, String kid)` Deprecated.
    `protected KeyWrapper` | JavaKeystoreKeyProvider.`loadKey(RealmModel realm, ComponentModel model)`
    `KeyWrapper` | ImportedRsaKeyProvider.`loadKey(RealmModel realm, ComponentModel model)`
    `protected KeyWrapper` | GeneratedEcdsaKeyProvider.`loadKey(RealmModel realm, ComponentModel model)`
    `protected abstract KeyWrapper` | AbstractRsaKeyProvider.`loadKey(RealmModel realm, ComponentModel model)`
    `protected abstract KeyWrapper` | AbstractEcdsaKeyProvider.`loadKey(RealmModel realm, ComponentModel model)`
    `void` | JavaKeystoreKeyProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | ImportedRsaKeyProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | GeneratedRsaKeyProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | GeneratedEcdsaKeyProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | AbstractRsaKeyProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | AbstractGeneratedSecretKeyProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | AbstractEcdsaKeyProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel model)`

    Constructors in org.keycloak.keys with parameters of type RealmModel
    Constructor and Description
    `AbstractEcdsaKeyProvider(RealmModel realm, ComponentModel model)`
    `AbstractRsaKeyProvider(RealmModel realm, ComponentModel model)`
    `GeneratedEcdsaKeyProvider(RealmModel realm, ComponentModel model)`
    `ImportedRsaKeyProvider(RealmModel realm, ComponentModel model)`
    `JavaKeystoreKeyProvider(RealmModel realm, ComponentModel model)`

  - ### Uses of RealmModel in org.keycloak.keys.loader

    Methods in org.keycloak.keys.loader with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static PublicKey` | PublicKeyStorageManager.`getIdentityProviderPublicKey(KeycloakSession session, RealmModel realm, OIDCIdentityProviderConfig idpConfig, JWSInput input)`

  - ### Uses of RealmModel in org.keycloak.locale

    Methods in org.keycloak.locale with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `Locale` | LocaleSelectorProvider.`resolveLocale(RealmModel realm, UserModel user)` Resolve the locale which should be used for the request
    `Locale` | DefaultLocaleSelectorProvider.`resolveLocale(RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.migration

    Methods in org.keycloak.migration with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientScopeModel` | MigrationProvider.`addOIDCMicroprofileJWTClientScope(RealmModel realm)` Adds the `microprofile-jwt` optional client scope to the realm and returns the created scope.
    `ClientScopeModel` | MigrationProvider.`addOIDCRolesClientScope(RealmModel realm)` Add 'roles' client scope or return it if already exists
    `ClientScopeModel` | MigrationProvider.`addOIDCWebOriginsClientScope(RealmModel realm)` Add 'web-origins' client scope or return it if already exists
    `static void` | MigrationModelManager.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrationProvider.`setupAdminCli(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.migration.migrators

    Methods in org.keycloak.migration.migrators with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | MigrateTo9_0_0.`addAccountConsoleClient(RealmModel realm)`
    `static void` | MigrationUtils.`addAdminRole(RealmModel realm, String roleName)`
    `protected void` | MigrateTo9_0_4.`checkAuthConfigNullAlias(RealmModel realm)`
    `static ComponentModel` | MigrateTo1_8_0.`getMapperByName(RealmModel realm, ComponentModel providerModel, String name)`
    `protected void` | MigrateTo8_0_2.`migrateAuthenticationFlowsWithAlternativeRequirements(RealmModel realm)`
    `default void` | Migration.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)` Called after full import of representation.
    `void` | MigrateTo9_0_4.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo9_0_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo8_0_2.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo8_0_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo6_0_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo4_6_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo4_2_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo4_0_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo3_4_2.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo3_4_1.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo3_4_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo3_2_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo3_1_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo3_0_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo2_5_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo2_3_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo2_2_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo2_1_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo2_0_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo1_9_2.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo1_8_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo1_7_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo1_6_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo1_5_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo1_4_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo1_3_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `void` | MigrateTo1_2_0.`migrateImport(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)`
    `static void` | MigrationUtils.`migrateOldOfflineToken(KeycloakSession session, RealmModel realm, ClientModel client, UserModel user)`
    `static void` | MigrateTo8_0_0.`migrateOptionalAuthenticationExecution(RealmModel realm, AuthenticationFlowModel parentFlow, AuthenticationExecutionModel optionalExecution, boolean updateOptionalExecution)`
    `protected void` | MigrateTo1_6_0.`migrateRealm(KeycloakSession session, ProtocolMapperModel localeMapper, RealmModel realm)`
    `protected void` | MigrateTo3_2_0.`migrateRealm(KeycloakSession session, RealmModel realm)`
    `protected void` | MigrateTo1_7_0.`migrateRealm(KeycloakSession session, RealmModel realm)`
    `protected void` | MigrateTo1_5_0.`migrateRealm(KeycloakSession session, RealmModel realm)`
    `protected void` | MigrateTo1_4_0.`migrateRealm(KeycloakSession session, RealmModel realm)`
    `protected void` | MigrateTo6_0_0.`migrateRealm(KeycloakSession session, RealmModel realm, boolean jsn)`
    `protected void` | MigrateTo4_6_0.`migrateRealm(KeycloakSession session, RealmModel realm, boolean json)`
    `protected void` | MigrateTo4_0_0.`migrateRealm(KeycloakSession session, RealmModel realm, boolean json)`
    `protected void` | MigrateTo4_2_0.`migrateRealm(RealmModel realm)`
    `protected void` | MigrateTo3_4_2.`migrateRealm(RealmModel realm)`
    `protected void` | MigrateTo3_4_1.`migrateRealm(RealmModel r)`
    `protected void` | MigrateTo3_4_0.`migrateRealm(RealmModel r)`
    `protected void` | MigrateTo3_1_0.`migrateRealm(RealmModel realm)`
    `protected void` | MigrateTo3_0_0.`migrateRealm(RealmModel realm)`
    `protected void` | MigrateTo2_3_0.`migrateRealm(RealmModel realm)`
    `protected void` | MigrateTo1_9_2.`migrateRealm(RealmModel realm)`
    `protected void` | MigrateTo1_8_0.`migrateRealm(RealmModel realm)`
    `protected void` | MigrateTo9_0_0.`migrateRealmCommon(RealmModel realm)`
    `protected void` | MigrateTo8_0_0.`migrateRealmCommon(RealmModel realm)`
    `protected void` | MigrateTo8_0_0.`migrateRealmMFA(RealmModel realm)`
    `void` | MigrateTo1_2_0.`setupBrokerService(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.models

    Methods in org.keycloak.models that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | RealmProvider.`createRealm(String name)`
    `RealmModel` | RealmProvider.`createRealm(String id, String name)`
    `RealmModel` | RealmModel.RealmCreationEvent.`getCreatedRealm()`
    `RealmModel` | RealmModel.RealmPostCreateEvent.`getCreatedRealm()`
    `RealmModel` | UserSessionModel.`getRealm()`
    `RealmModel` | UserModel.UserRemovedEvent.`getRealm()`
    `RealmModel` | RealmModel.RealmRemovedEvent.`getRealm()`
    `RealmModel` | RealmModel.IdentityProviderUpdatedEvent.`getRealm()`
    `RealmModel` | RealmModel.IdentityProviderRemovedEvent.`getRealm()`
    `RealmModel` | KeycloakContext.`getRealm()`
    `RealmModel` | GroupModel.GroupRemovedEvent.`getRealm()`
    `RealmModel` | ClientScopeModel.`getRealm()`
    `RealmModel` | ClientModel.`getRealm()`
    `RealmModel` | RealmProvider.`getRealm(String id)`
    `RealmModel` | RealmProvider.`getRealmByName(String name)`

    Methods in org.keycloak.models that return types with arguments of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `default List<RealmModel>` | RealmProvider.`getRealms()` Deprecated. Use `getRealmsStream` instead.
    `Stream<RealmModel>` | RealmProvider.`getRealmsStream()`
    `default List<RealmModel>` | RealmProvider.`getRealmsWithProviderType(Class<?> type)` Deprecated. Use `RealmProvider.getRealmsWithProviderTypeStream(Class)` getRealmsWithProviderTypeStream} instead.
    `Stream<RealmModel>` | RealmProvider.`getRealmsWithProviderTypeStream(Class<?> type)`

    Methods in org.keycloak.models with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `default ClientModel` | RealmProvider.`addClient(RealmModel realm, String clientId)` Deprecated. Use the corresponding method from `ClientProvider`.
    `default ClientModel` | ClientProvider.`addClient(RealmModel realm, String clientId)` Adds a client with given `clientId` to the given realm.
    `ClientModel` | RealmProvider.`addClient(RealmModel realm, String id, String clientId)` Deprecated. Use the corresponding method from `ClientProvider`.
    `ClientModel` | ClientProvider.`addClient(RealmModel realm, String id, String clientId)` Adds a client with given internal ID and `clientId` to the given realm.
    `default RoleModel` | RealmProvider.`addClientRole(RealmModel realm, ClientModel client, String name)` Deprecated. Use the corresponding method from `RoleProvider`.
    `default RoleModel` | RealmProvider.`addClientRole(RealmModel realm, ClientModel client, String id, String name)` Deprecated. Use the corresponding method from `RoleProvider`.
    `void` | UserProvider.`addConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | UserProvider.`addFederatedIdentity(RealmModel realm, UserModel user, FederatedIdentityModel socialLink)`
    `default RoleModel` | RoleProvider.`addRealmRole(RealmModel realm, String name)` Adds a realm role with given `name` to the given realm.
    `default RoleModel` | RealmProvider.`addRealmRole(RealmModel realm, String name)` Deprecated. Use the corresponding method from `RoleProvider`.
    `RoleModel` | RoleProvider.`addRealmRole(RealmModel realm, String id, String name)` Adds a realm role with given internal ID and `name` to the given realm.
    `RoleModel` | RealmProvider.`addRealmRole(RealmModel realm, String id, String name)` Deprecated. Use the corresponding method from `RoleProvider`.
    `void` | RealmProvider.`addTopLevelGroup(RealmModel realm, GroupModel subGroup)` Deprecated. Use the corresponding method from `GroupProvider`.
    `void` | GroupProvider.`addTopLevelGroup(RealmModel realm, GroupModel subGroup)` Removes parent group for the given group in the given realm.
    `UserModel` | UserProvider.`addUser(RealmModel realm, String id, String username, boolean addDefaultRoles, boolean addDefaultRequiredActions)` only used for local storage
    `UserLoginFailureModel` | UserSessionProvider.`addUserLoginFailure(RealmModel realm, String userId)`
    `CredentialValidationOutput` | UserCredentialManager.`authenticate(KeycloakSession session, RealmModel realm, CredentialInput input)` Given a CredentialInput, authenticate the user.
    `ClientInitialAccessModel` | RealmProvider.`createClientInitialAccessModel(RealmModel realm, int expiration, int count)`
    `AuthenticatedClientSessionModel` | UserSessionProvider.`createClientSession(RealmModel realm, ClientModel client, UserSessionModel userSession)`
    `CredentialModel` | UserCredentialManager.`createCredentialThroughProvider(RealmModel realm, UserModel user, CredentialModel model)` Creates a credential from the credentialModel, by looping through the providers to find a match for the type
    `default GroupModel` | RealmProvider.`createGroup(RealmModel realm, String name)` Deprecated. Use the corresponding method from `GroupProvider`.
    `default GroupModel` | GroupProvider.`createGroup(RealmModel realm, String name)` Creates a new group with the given name in the given realm.
    `default GroupModel` | RealmProvider.`createGroup(RealmModel realm, String name, GroupModel toParent)` Deprecated. Use the corresponding method from `GroupProvider`.
    `default GroupModel` | GroupProvider.`createGroup(RealmModel realm, String name, GroupModel toParent)` Creates a new group with the given name and parent to the given realm.
    `default GroupModel` | RealmProvider.`createGroup(RealmModel realm, String id, String name)` Deprecated. Use the corresponding method from `GroupProvider`.
    `default GroupModel` | GroupProvider.`createGroup(RealmModel realm, String id, String name)` Creates a new group with the given id and name in the given realm.
    `GroupModel` | RealmProvider.`createGroup(RealmModel realm, String id, String name, GroupModel toParent)` Deprecated. Use the corresponding method from `GroupProvider`.
    `GroupModel` | GroupProvider.`createGroup(RealmModel realm, String id, String name, GroupModel toParent)` Creates a new group with the given name, id, name and parent to the given realm.
    `UserSessionModel` | UserSessionProvider.`createUserSession(RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId)`
    `UserSessionModel` | UserSessionProvider.`createUserSession(String id, RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId, UserSessionModel.SessionPersistenceState persistenceState)`
    `void` | RealmProvider.`decreaseRemainingCount(RealmModel realm, ClientInitialAccessModel clientInitialAccess)`
    `boolean` | RealmProvider.`deleteLocalizationText(RealmModel realm, String locale, String key)`
    `boolean` | RealmProvider.`deleteLocalizationTextsByLocale(RealmModel realm, String locale)`
    `void` | UserCredentialManager.`disableCredentialType(RealmModel realm, UserModel user, String credentialType)` Calls disableCredential on UserStorageProvider and UserFederationProviders first, then loop through each CredentialProvider.
    `KeyManager.ActiveAesKey` | KeyManager.`getActiveAesKey(RealmModel realm)` Deprecated.
    `Map<String,Long>` | UserSessionProvider.`getActiveClientSessionStats(RealmModel realm, boolean offline)` Returns a summary of client sessions key is client.getId()
    `KeyManager.ActiveHmacKey` | KeyManager.`getActiveHmacKey(RealmModel realm)` Deprecated.
    `KeyWrapper` | KeyManager.`getActiveKey(RealmModel realm, KeyUse use, String algorithm)`
    `KeyManager.ActiveRsaKey` | KeyManager.`getActiveRsaKey(RealmModel realm)` Deprecated.
    `long` | UserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `List<SecretKeyMetadata>` | KeyManager.`getAesKeys(RealmModel realm)` Deprecated.
    `SecretKey` | KeyManager.`getAesSecretKey(RealmModel realm, String kid)` Deprecated.
    `default List<ClientModel>` | RealmProvider.`getAlwaysDisplayInConsoleClients(RealmModel realm)` Deprecated. Use the corresponding method from `ClientProvider`.
    `default List<ClientModel>` | ClientProvider.`getAlwaysDisplayInConsoleClients(RealmModel realm)` Deprecated. use the stream variant instead
    `Stream<ClientModel>` | ClientProvider.`getAlwaysDisplayInConsoleClientsStream(RealmModel realm)` Returns a stream of clients that are expected to always show up in account console.
    `default ClientModel` | RealmProvider.`getClientByClientId(String clientId, RealmModel realm)` Deprecated. Use the corresponding method from `ClientProvider`.
    `default ClientModel` | RealmProvider.`getClientById(String id, RealmModel realm)` Deprecated. Use the corresponding method from `ClientProvider`.
    `ClientInitialAccessModel` | RealmProvider.`getClientInitialAccessModel(RealmModel realm, String id)`
    `default RoleModel` | RealmProvider.`getClientRole(RealmModel realm, ClientModel client, String name)` Deprecated. Use the corresponding method from `RoleProvider`.
    `default Set<RoleModel>` | RealmProvider.`getClientRoles(RealmModel realm, ClientModel client)` Deprecated. Use the corresponding method from `RoleProvider`.
    `default Set<RoleModel>` | RealmProvider.`getClientRoles(RealmModel realm, ClientModel client, Integer first, Integer max)` Deprecated. Use the corresponding method from `RoleProvider`.
    `default List<ClientModel>` | RealmProvider.`getClients(RealmModel realm)` Deprecated. Use the corresponding method from `ClientProvider`.
    `default List<ClientModel>` | ClientProvider.`getClients(RealmModel realm)` Deprecated. use the stream variant instead Effectively the same as the call `getClients(realm, null, null)`.
    `default List<ClientModel>` | RealmProvider.`getClients(RealmModel realm, Integer firstResult, Integer maxResults)` Deprecated. Use the corresponding method from `ClientProvider`.
    `default List<ClientModel>` | ClientProvider.`getClients(RealmModel realm, Integer firstResult, Integer maxResults)` Deprecated. use the stream variant instead
    `ClientScopeModel` | RealmProvider.`getClientScopeById(String id, RealmModel realm)`
    `long` | RealmProvider.`getClientsCount(RealmModel realm)` Deprecated. Use the corresponding method from `ClientProvider`.
    `long` | ClientProvider.`getClientsCount(RealmModel realm)` Returns number of clients in the given realm
    `default Stream<ClientModel>` | ClientProvider.`getClientsStream(RealmModel realm)` Returns all the clients of the given realm as a stream.
    `Stream<ClientModel>` | ClientProvider.`getClientsStream(RealmModel realm, Integer firstResult, Integer maxResults)` Returns the clients of the given realm as a stream.
    `List<String>` | UserCredentialManager.`getConfiguredUserStorageCredentialTypes(RealmModel realm, UserModel user)` Deprecated. Use `getConfiguredUserStorageCredentialTypesStream` instead.
    `default List<String>` | UserCredentialManager.Streams.`getConfiguredUserStorageCredentialTypes(RealmModel realm, UserModel user)`
    `default Stream<String>` | UserCredentialManager.`getConfiguredUserStorageCredentialTypesStream(RealmModel realm, UserModel user)` Obtains the credential types provided by the user storage where the specified user is stored.
    `Stream<String>` | UserCredentialManager.Streams.`getConfiguredUserStorageCredentialTypesStream(RealmModel realm, UserModel user)`
    `UserConsentModel` | UserProvider.`getConsentByClient(RealmModel realm, String userId, String clientInternalId)`
    `List<UserConsentModel>` | UserProvider.`getConsents(RealmModel realm, String userId)` Deprecated. Use `getConsentsStream` instead.
    `default List<UserConsentModel>` | UserProvider.Streams.`getConsents(RealmModel realm, String userId)`
    `default Stream<UserConsentModel>` | UserProvider.`getConsentsStream(RealmModel realm, String userId)` Obtains the consents associated with the user identified by the specified `userId`.
    `Stream<UserConsentModel>` | UserProvider.Streams.`getConsentsStream(RealmModel realm, String userId)`
    `Set<String>` | UserCredentialManager.`getDisableableCredentialTypes(RealmModel realm, UserModel user)` Deprecated. Use `getDisableableCredentialTypesStream` instead.
    `default Set<String>` | UserCredentialManager.Streams.`getDisableableCredentialTypes(RealmModel realm, UserModel user)`
    `default Stream<String>` | UserCredentialManager.`getDisableableCredentialTypesStream(RealmModel realm, UserModel user)` Obtains the credential types that can be disabled by means of the `UserCredentialManager.disableCredentialType(RealmModel, UserModel, String)` method.
    `Stream<String>` | UserCredentialManager.Streams.`getDisableableCredentialTypesStream(RealmModel realm, UserModel user)`
    `Set<FederatedIdentityModel>` | UserProvider.`getFederatedIdentities(UserModel user, RealmModel realm)` Deprecated. Use `getFederatedIdentitiesStream` instead.
    `default Set<FederatedIdentityModel>` | UserProvider.Streams.`getFederatedIdentities(UserModel user, RealmModel realm)`
    `default Stream<FederatedIdentityModel>` | UserProvider.`getFederatedIdentitiesStream(UserModel user, RealmModel realm)` Obtains the federated identities of the specified user.
    `Stream<FederatedIdentityModel>` | UserProvider.Streams.`getFederatedIdentitiesStream(UserModel user, RealmModel realm)`
    `FederatedIdentityModel` | UserProvider.`getFederatedIdentity(UserModel user, String socialProvider, RealmModel realm)`
    `GroupModel` | RealmProvider.`getGroupById(RealmModel realm, String id)` Deprecated. Use the corresponding method from `GroupProvider`.
    `default GroupModel` | RealmProvider.`getGroupById(String id, RealmModel realm)` Deprecated. Use the corresponding method from `GroupProvider`.
    `default GroupModel` | GroupProvider.`getGroupById(String id, RealmModel realm)` Deprecated. Use method `getGroupById(realm, id)`
    `default List<GroupModel>` | RealmProvider.`getGroups(RealmModel realm)` Deprecated. Use the corresponding method from `GroupProvider`.
    `default List<GroupModel>` | GroupProvider.`getGroups(RealmModel realm)` Deprecated. Use `getGroupsStream` instead.
    `default List<GroupModel>` | RealmProvider.`getGroupsByRole(RealmModel realm, RoleModel role, int firstResult, int maxResults)` Deprecated. Use the corresponding method from `GroupProvider`.
    `default List<GroupModel>` | GroupProvider.`getGroupsByRole(RealmModel realm, RoleModel role, int firstResult, int maxResults)` Deprecated. Use `getGroupsByRoleStream` instead.
    `Stream<GroupModel>` | GroupProvider.`getGroupsByRoleStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)` Returns groups with the given role in the given realm.
    `Long` | RealmProvider.`getGroupsCount(RealmModel realm, Boolean onlyTopGroups)` Deprecated. Use the corresponding method from `GroupProvider`.
    `Long` | GroupProvider.`getGroupsCount(RealmModel realm, Boolean onlyTopGroups)` Returns a number of groups/top level groups (i.e.
    `default Long` | GroupProvider.`getGroupsCount(RealmModel realm, Stream<String> ids, String search)` Returns a number of groups that contains the search string in the name
    `Long` | RealmProvider.`getGroupsCountByNameContaining(RealmModel realm, String search)` Deprecated. Use the corresponding method from `GroupProvider`.
    `Long` | GroupProvider.`getGroupsCountByNameContaining(RealmModel realm, String search)` Returns number of groups with the given string in name for the given realm.
    `Stream<GroupModel>` | GroupProvider.`getGroupsStream(RealmModel realm)` Returns groups for the given realm.
    `default Stream<GroupModel>` | GroupProvider.`getGroupsStream(RealmModel realm, Stream<String> ids)` Returns a list of groups with given ids.
    `default Stream<GroupModel>` | GroupProvider.`getGroupsStream(RealmModel realm, Stream<String> ids, Integer first, Integer max)` Returns a paginated list of groups with given ids.
    `Stream<GroupModel>` | GroupProvider.`getGroupsStream(RealmModel realm, Stream<String> ids, String search, Integer first, Integer max)` Returns a paginated stream of groups with given ids and given search value in group names.
    `List<SecretKeyMetadata>` | KeyManager.`getHmacKeys(RealmModel realm)` Deprecated.
    `SecretKey` | KeyManager.`getHmacSecretKey(RealmModel realm, String kid)` Deprecated.
    `KeyWrapper` | KeyManager.`getKey(RealmModel realm, String kid, KeyUse use, String algorithm)`
    `default List<KeyWrapper>` | KeyManager.`getKeys(RealmModel realm)` Deprecated. Use `getKeysStream` instead.
    `default List<KeyWrapper>` | KeyManager.`getKeys(RealmModel realm, KeyUse use, String algorithm)` Deprecated. Use `getKeysStream` instead.
    `Stream<KeyWrapper>` | KeyManager.`getKeysStream(RealmModel realm)` Returns all `KeyWrapper` for the given realm.
    `Stream<KeyWrapper>` | KeyManager.`getKeysStream(RealmModel realm, KeyUse use, String algorithm)` Returns all `KeyWrapper` for the given realm that match given criteria.
    `String` | OTPPolicy.`getKeyURI(RealmModel realm, UserModel user, String secret)` Constructs the `otpauth://` URI based on the Key-Uri-Format.
    `String` | RealmProvider.`getLocalizationTextsById(RealmModel realm, String locale, String key)`
    `int` | UserProvider.`getNotBeforeOfUser(RealmModel realm, UserModel user)`
    `long` | UserSessionProvider.`getOfflineSessionsCount(RealmModel realm, ClientModel client)`
    `UserSessionModel` | UserSessionProvider.`getOfflineUserSession(RealmModel realm, String userSessionId)`
    `UserSessionModel` | UserSessionProvider.`getOfflineUserSessionByBrokerSessionId(RealmModel realm, String brokerSessionId)`
    `default List<UserSessionModel>` | UserSessionProvider.`getOfflineUserSessionByBrokerUserId(RealmModel realm, String brokerUserId)` Deprecated. Use `getOfflineUserSessionByBrokerUserIdStream` instead.
    `Stream<UserSessionModel>` | UserSessionProvider.`getOfflineUserSessionByBrokerUserIdStream(RealmModel realm, String brokerUserId)` Obtains the offline user sessions associated with the user that matches the specified `brokerUserId`.
    `default List<UserSessionModel>` | UserSessionProvider.`getOfflineUserSessions(RealmModel realm, ClientModel client, int first, int max)` Deprecated. use `getOfflineUserSessionsStream` instead.
    `default List<UserSessionModel>` | UserSessionProvider.`getOfflineUserSessions(RealmModel realm, UserModel user)` Deprecated. Use `getOfflineUserSessionsStream` instead.
    `Stream<UserSessionModel>` | UserSessionProvider.`getOfflineUserSessionsStream(RealmModel realm, ClientModel client, int firstResult, int maxResults)` Obtains the offline user sessions associated with the specified client, starting from the `firstResult` and containing at most `maxResults`.
    `Stream<UserSessionModel>` | UserSessionProvider.`getOfflineUserSessionsStream(RealmModel realm, UserModel user)` Obtains the offline user sessions associated with the specified user.
    `RoleModel` | RealmProvider.`getRealmRole(RealmModel realm, String name)` Deprecated. Use the corresponding method from `RoleProvider`.
    `default Set<RoleModel>` | RoleProvider.`getRealmRoles(RealmModel realm)` Deprecated. use the stream variant instead
    `default Set<RoleModel>` | RealmProvider.`getRealmRoles(RealmModel realm)` Deprecated. Use the corresponding method from `RoleProvider`.
    `default Set<RoleModel>` | RealmProvider.`getRealmRoles(RealmModel realm, Integer first, Integer max)` Deprecated. Use the corresponding method from `RoleProvider`.
    `default Stream<RoleModel>` | RoleProvider.`getRealmRolesStream(RealmModel realm)` Returns all the realm roles of the given realm as a stream.
    `Stream<RoleModel>` | RoleProvider.`getRealmRolesStream(RealmModel realm, Integer first, Integer max)` Returns the realm roles of the given realm as a stream.
    `default RoleModel` | RealmProvider.`getRoleById(String id, RealmModel realm)` Deprecated. Use the corresponding method from `RoleProvider`.
    `Certificate` | KeyManager.`getRsaCertificate(RealmModel realm, String kid)` Deprecated.
    `List<RsaKeyMetadata>` | KeyManager.`getRsaKeys(RealmModel realm)` Deprecated.
    `PublicKey` | KeyManager.`getRsaPublicKey(RealmModel realm, String kid)` Deprecated.
    `default List<GroupModel>` | RealmProvider.`getTopLevelGroups(RealmModel realm)` Deprecated. Use the corresponding method from `GroupProvider`.
    `default List<GroupModel>` | GroupProvider.`getTopLevelGroups(RealmModel realm)` Deprecated. Use `getTopLevelGroupsStream` instead.
    `default List<GroupModel>` | RealmProvider.`getTopLevelGroups(RealmModel realm, Integer first, Integer max)` Deprecated. Use the corresponding method from `GroupProvider`.
    `default List<GroupModel>` | GroupProvider.`getTopLevelGroups(RealmModel realm, Integer firstResult, Integer maxResults)` Deprecated. Use `getTopLevelGroupsStream` instead.
    `Stream<GroupModel>` | GroupProvider.`getTopLevelGroupsStream(RealmModel realm)` Returns all top level groups (i.e.
    `Stream<GroupModel>` | GroupProvider.`getTopLevelGroupsStream(RealmModel realm, Integer firstResult, Integer maxResults)` Returns top level groups (i.e.
    `UserModel` | UserProvider.`getUserByFederatedIdentity(FederatedIdentityModel socialLink, RealmModel realm)`
    `UserLoginFailureModel` | UserSessionProvider.`getUserLoginFailure(RealmModel realm, String userId)`
    `List<UserModel>` | UserProvider.`getUsers(RealmModel realm, boolean includeServiceAccounts)` Deprecated. Use `getUsersStream` instead.
    `default List<UserModel>` | UserProvider.Streams.`getUsers(RealmModel realm, boolean includeServiceAccounts)`
    `List<UserModel>` | UserProvider.`getUsers(RealmModel realm, int firstResult, int maxResults, boolean includeServiceAccounts)` Deprecated. Use `getUsersStream` instead.
    `default List<UserModel>` | UserProvider.Streams.`getUsers(RealmModel realm, int firstResult, int maxResults, boolean includeServiceAccounts)`
    `UserSessionModel` | UserSessionProvider.`getUserSession(RealmModel realm, String id)`
    `UserSessionModel` | UserSessionProvider.`getUserSessionByBrokerSessionId(RealmModel realm, String brokerSessionId)`
    `default List<UserSessionModel>` | UserSessionProvider.`getUserSessionByBrokerUserId(RealmModel realm, String brokerUserId)` Deprecated. Use `getUserSessionByBrokerUserIdStream` instead.
    `Stream<UserSessionModel>` | UserSessionProvider.`getUserSessionByBrokerUserIdStream(RealmModel realm, String brokerUserId)` Obtains the user sessions associated with the user that matches the specified `brokerUserId`.
    `default List<UserSessionModel>` | UserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client)` Deprecated. Use `getUserSessionsStream` instead.
    `default List<UserSessionModel>` | UserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client, int firstResult, int maxResults)` Deprecated. Use `getUserSessionsStream` instead.
    `default List<UserSessionModel>` | UserSessionProvider.`getUserSessions(RealmModel realm, UserModel user)` Deprecated. Use `getUserSessionsStream` instead.
    `Stream<UserSessionModel>` | UserSessionProvider.`getUserSessionsStream(RealmModel realm, ClientModel client)` Obtains the user sessions associated with the specified client.
    `Stream<UserSessionModel>` | UserSessionProvider.`getUserSessionsStream(RealmModel realm, ClientModel client, int firstResult, int maxResults)` Obtains the user sessions associated with the specified client, starting from the `firstResult` and containing at most `maxResults`.
    `Stream<UserSessionModel>` | UserSessionProvider.`getUserSessionsStream(RealmModel realm, UserModel user)` Obtains the user sessions associated with the specified user.
    `UserSessionModel` | UserSessionProvider.`getUserSessionWithPredicate(RealmModel realm, String id, boolean offline, Predicate<UserSessionModel> predicate)` Return userSession of specified ID as long as the predicate passes.
    `default Stream<UserModel>` | UserProvider.`getUsersStream(RealmModel realm, boolean includeServiceAccounts)` Obtains the users associated with the specified realm.
    `Stream<UserModel>` | UserProvider.Streams.`getUsersStream(RealmModel realm, boolean includeServiceAccounts)`
    `default Stream<UserModel>` | UserProvider.`getUsersStream(RealmModel realm, Integer firstResult, Integer maxResults, boolean includeServiceAccounts)` Obtains the users associated with the specified realm.
    `Stream<UserModel>` | UserProvider.Streams.`getUsersStream(RealmModel realm, Integer firstResult, Integer maxResults, boolean includeServiceAccounts)`
    `boolean` | UserCredentialManager.`isConfiguredFor(RealmModel realm, UserModel user, String type)` Checks to see if user has credential type configured.
    `boolean` | UserCredentialManager.`isConfiguredLocally(RealmModel realm, UserModel user, String type)` Only loops through each CredentialProvider to see if credential type is configured for the user.
    `boolean` | UserCredentialManager.`isValid(RealmModel realm, UserModel user, CredentialInput... inputs)` Validates list of credentials.
    `boolean` | UserCredentialManager.`isValid(RealmModel realm, UserModel user, List<CredentialInput> inputs)` Validates list of credentials.
    `default List<ClientInitialAccessModel>` | RealmProvider.`listClientInitialAccess(RealmModel realm)` Deprecated. Use `RealmProvider.listClientInitialAccessStream(RealmModel)` listClientInitialAccessStream} instead.
    `Stream<ClientInitialAccessModel>` | RealmProvider.`listClientInitialAccessStream(RealmModel realm)`
    `void` | RealmProvider.`moveGroup(RealmModel realm, GroupModel group, GroupModel toParent)` Deprecated. Use the corresponding method from `GroupProvider`.
    `void` | GroupProvider.`moveGroup(RealmModel realm, GroupModel group, GroupModel toParent)` This method is used for moving groups in group structure, for example: making an existing child group child group of some other group, setting a top level group (i.e.
    `void` | UserSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | UserSessionProvider.`onRealmRemoved(RealmModel realm)`
    `void` | UserProvider.`preRemove(RealmModel realm)`
    `void` | UserProvider.`preRemove(RealmModel realm, ClientModel client)`
    `void` | UserProvider.`preRemove(RealmModel realm, ComponentModel component)`
    `void` | UserProvider.`preRemove(RealmModel realm, GroupModel group)`
    `void` | UserProvider.`preRemove(RealmModel realm, IdentityProviderModel provider)`
    `void` | UserProvider.`preRemove(RealmModel realm, RoleModel role)`
    `void` | GroupProvider.`preRemove(RealmModel realm, RoleModel role)` This function is called when a role is removed; this serves for removing references from groups to roles.
    `void` | UserSessionProvider.`removeAllUserLoginFailures(RealmModel realm)`
    `boolean` | ClientProvider.`removeClient(RealmModel realm, String id)` Removes given client from the given realm.
    `default boolean` | RealmProvider.`removeClient(String id, RealmModel realm)` Deprecated. Use the corresponding method from `ClientProvider`.
    `default boolean` | ClientProvider.`removeClient(String id, RealmModel realm)` Deprecated. Use `ClientProvider.removeClient(RealmModel, String)` instead.
    `void` | RealmProvider.`removeClientInitialAccessModel(RealmModel realm, String id)`
    `void` | ClientProvider.`removeClients(RealmModel realm)` Removes all clients from the given realm.
    `void` | UserSessionProvider.`removeExpired(RealmModel realm)` Implementation doesn't need to propagate removal of expired userSessions to userSessionPersister.
    `boolean` | UserProvider.`removeFederatedIdentity(RealmModel realm, UserModel user, String socialProvider)`
    `boolean` | RealmProvider.`removeGroup(RealmModel realm, GroupModel group)` Deprecated. Use the corresponding method from `GroupProvider`.
    `boolean` | GroupProvider.`removeGroup(RealmModel realm, GroupModel group)` Removes the given group for the given realm.
    `void` | UserProvider.`removeImportedUsers(RealmModel realm, String storageProviderId)` Removes any imported users from a specific User Storage Provider.
    `void` | UserSessionProvider.`removeOfflineUserSession(RealmModel realm, UserSessionModel userSession)` Removes the attached clientSessions as well
    `default boolean` | RealmProvider.`removeRole(RealmModel realm, RoleModel role)` Deprecated. Use the corresponding method from `RoleProvider`.
    `void` | RoleProvider.`removeRoles(RealmModel realm)` Removes all roles from the given realm.
    `boolean` | UserManager.`removeUser(RealmModel realm, UserModel user)`
    `boolean` | UserManager.`removeUser(RealmModel realm, UserModel user, UserProvider userProvider)`
    `void` | UserSessionProvider.`removeUserLoginFailure(RealmModel realm, String userId)`
    `void` | UserSessionProvider.`removeUserSession(RealmModel realm, UserSessionModel session)` This will remove attached ClientLoginSessionModels too
    `void` | UserSessionProvider.`removeUserSessions(RealmModel realm)`
    `void` | UserSessionProvider.`removeUserSessions(RealmModel realm, UserModel user)`
    `void` | UserSessionModel.`restartSession(RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId)`
    `boolean` | UserProvider.`revokeConsentForClient(RealmModel realm, String userId, String clientInternalId)`
    `void` | RealmProvider.`saveLocalizationText(RealmModel realm, String locale, String key, String text)`
    `void` | RealmProvider.`saveLocalizationTexts(RealmModel realm, String locale, Map<String,String> localizationTexts)`
    `default List<ClientModel>` | RealmProvider.`searchClientsByClientId(String clientId, Integer firstResult, Integer maxResults, RealmModel realm)` Deprecated. Use the corresponding method from `ClientProvider`.
    `default Set<RoleModel>` | RealmProvider.`searchForClientRoles(RealmModel realm, ClientModel client, String search, Integer first, Integer max)` Deprecated. Use the corresponding method from `RoleProvider`.
    `default List<GroupModel>` | RealmProvider.`searchForGroupByName(RealmModel realm, String search, Integer first, Integer max)` Deprecated. Use the corresponding method from `GroupProvider`.
    `default Set<RoleModel>` | RealmProvider.`searchForRoles(RealmModel realm, String search, Integer first, Integer max)` Deprecated. Use the corresponding method from `RoleProvider`.
    `void` | UserProvider.`setNotBeforeForUser(RealmModel realm, UserModel user, int notBefore)`
    `void` | KeycloakContext.`setRealm(RealmModel realm)`
    `static void` | ImpersonationConstants.`setupImpersonationService(KeycloakSession session, RealmModel realm)`
    `static void` | ImpersonationConstants.`setupMasterRealmRole(RealmProvider model, RealmModel realm)`
    `static void` | ImpersonationConstants.`setupRealmRole(RealmModel realm)`
    `void` | UserProvider.`unlinkUsers(RealmModel realm, String storageProviderId)` Set federation link to null to imported users of a specific User Storage Provider
    `void` | UserProvider.`updateConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `boolean` | UserCredentialManager.`updateCredential(RealmModel realm, UserModel user, CredentialInput input)` Updates a credential.
    `void` | UserCredentialManager.`updateCredentialLabel(RealmModel realm, UserModel user, String credentialId, String userLabel)` Updates the credential label and invalidates the cache for the user.
    `void` | UserProvider.`updateFederatedIdentity(RealmModel realm, UserModel federatedUser, FederatedIdentityModel federatedIdentityModel)`
    `boolean` | RealmProvider.`updateLocalizationText(RealmModel realm, String locale, String key, String text)`
    `void` | IdentityProviderModel.`validate(RealmModel realm)` Validates this configuration.

  - ### Uses of RealmModel in org.keycloak.models.cache

    Subinterfaces of RealmModel in org.keycloak.models.cache
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `CachedRealmModel` Cached realms will implement this interface

    Methods in org.keycloak.models.cache that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | CachedRealmModel.`getDelegateForUpdate()` Invalidates the cache for this model and returns a delegate that represents the actual data provider

    Methods in org.keycloak.models.cache with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | UserCache.`evict(RealmModel realm)` Evict users of a specific realm
    `void` | UserCache.`evict(RealmModel realm, UserModel user)` Evict user from cache.
    `void` | OnUserCache.`onCache(RealmModel realm, CachedUserModel user, UserModel delegate)`

  - ### Uses of RealmModel in org.keycloak.models.cache.infinispan

    Fields in org.keycloak.models.cache.infinispan declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | ClientScopeAdapter.`cachedRealm`
    `protected RealmModel` | ClientAdapter.`cachedRealm`
    `protected RealmModel` | UserAdapter.`realm`
    `protected RealmModel` | RoleAdapter.`realm`
    `protected RealmModel` | GroupAdapter.`realm`
    `protected RealmModel` | RealmAdapter.`updated`

    Methods in org.keycloak.models.cache.infinispan that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | RealmCacheSession.`createRealm(String name)`
    `RealmModel` | RealmCacheSession.`createRealm(String id, String name)`
    `RealmModel` | RealmAdapter.`getDelegateForUpdate()`
    `RealmModel` | ClientScopeAdapter.`getRealm()`
    `RealmModel` | ClientAdapter.`getRealm()`
    `RealmModel` | RealmCacheSession.`getRealm(String id)`
    `RealmModel` | RealmCacheSession.`getRealmByName(String name)`

    Methods in org.keycloak.models.cache.infinispan that return types with arguments of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `Stream<RealmModel>` | RealmCacheSession.`getRealmsStream()`
    `Stream<RealmModel>` | RealmCacheSession.`getRealmsWithProviderTypeStream(Class<?> type)`

    Methods in org.keycloak.models.cache.infinispan with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | RealmCacheSession.`addClient(RealmModel realm, String clientId)`
    `ClientModel` | RealmCacheSession.`addClient(RealmModel realm, String id, String clientId)`
    `void` | UserCacheSession.`addConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | UserCacheSession.`addFederatedIdentity(RealmModel realm, UserModel user, FederatedIdentityModel socialLink)`
    `RoleModel` | RealmCacheSession.`addRealmRole(RealmModel realm, String name)`
    `RoleModel` | RealmCacheSession.`addRealmRole(RealmModel realm, String id, String name)`
    `void` | RealmCacheSession.`addTopLevelGroup(RealmModel realm, GroupModel subGroup)`
    `UserModel` | UserCacheSession.`addUser(RealmModel realm, String username)`
    `UserModel` | UserCacheSession.`addUser(RealmModel realm, String id, String username, boolean addDefaultRoles, boolean addDefaultRequiredActions)`
    `protected ClientModel` | RealmCacheSession.`cacheClient(RealmModel realm, ClientModel delegate, Long revision)`
    `protected UserModel` | UserCacheSession.`cacheUser(RealmModel realm, UserModel delegate, Long revision)`
    `ClientInitialAccessModel` | RealmCacheSession.`createClientInitialAccessModel(RealmModel realm, int expiration, int count)`
    `GroupModel` | RealmCacheSession.`createGroup(RealmModel realm, String id, String name, GroupModel toParent)`
    `void` | RealmCacheSession.`decreaseRemainingCount(RealmModel realm, ClientInitialAccessModel clientInitialAccess)`
    `boolean` | RealmCacheSession.`deleteLocalizationText(RealmModel realm, String locale, String key)`
    `boolean` | RealmCacheSession.`deleteLocalizationTextsByLocale(RealmModel realm, String locale)`
    `void` | UserCacheSession.`evict(RealmModel realm)`
    `void` | UserCacheSession.`evict(RealmModel realm, UserModel user)`
    `void` | RealmCacheSession.`evictRealmOnRemoval(RealmModel realm)`
    `protected void` | UserCacheSession.`fullyInvalidateUser(RealmModel realm, UserModel user)`
    `Stream<ClientModel>` | RealmCacheSession.`getAlwaysDisplayInConsoleClientsStream(RealmModel realm)`
    `ClientModel` | RealmCacheSession.`getClientByClientId(RealmModel realm, String clientId)`
    `ClientModel` | RealmCacheSession.`getClientById(RealmModel realm, String id)`
    `ClientInitialAccessModel` | RealmCacheSession.`getClientInitialAccessModel(RealmModel realm, String id)`
    `ClientScopeModel` | RealmCacheSession.`getClientScopeById(String id, RealmModel realm)`
    `long` | RealmCacheSession.`getClientsCount(RealmModel realm)`
    `Stream<ClientModel>` | RealmCacheSession.`getClientsStream(RealmModel realm)`
    `Stream<ClientModel>` | RealmCacheSession.`getClientsStream(RealmModel realm, Integer firstResult, Integer maxResults)`
    `UserConsentModel` | UserCacheSession.`getConsentByClient(RealmModel realm, String userId, String clientId)`
    `Stream<UserConsentModel>` | UserCacheSession.`getConsentsStream(RealmModel realm, String userId)`
    `Stream<FederatedIdentityModel>` | UserCacheSession.`getFederatedIdentitiesStream(UserModel user, RealmModel realm)`
    `FederatedIdentityModel` | UserCacheSession.`getFederatedIdentity(UserModel user, String socialProvider, RealmModel realm)`
    `GroupModel` | RealmCacheSession.`getGroupById(RealmModel realm, String id)`
    `Stream<UserModel>` | UserCacheSession.`getGroupMembersStream(RealmModel realm, GroupModel group)`
    `Stream<UserModel>` | UserCacheSession.`getGroupMembersStream(RealmModel realm, GroupModel group, Integer firstResult, Integer maxResults)`
    `Stream<GroupModel>` | RealmCacheSession.`getGroupsByRoleStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)`
    `Long` | RealmCacheSession.`getGroupsCount(RealmModel realm, Boolean onlyTopGroups)`
    `Long` | RealmCacheSession.`getGroupsCount(RealmModel realm, Stream<String> ids, String search)`
    `Long` | RealmCacheSession.`getGroupsCountByNameContaining(RealmModel realm, String search)`
    `Stream<GroupModel>` | RealmCacheSession.`getGroupsStream(RealmModel realm)`
    `Stream<GroupModel>` | RealmCacheSession.`getGroupsStream(RealmModel realm, Stream<String> ids, String search, Integer first, Integer max)`
    `String` | RealmCacheSession.`getLocalizationTextsById(RealmModel realm, String locale, String key)`
    `int` | UserCacheSession.`getNotBeforeOfUser(RealmModel realm, UserModel user)`
    `RoleModel` | RealmCacheSession.`getRealmRole(RealmModel realm, String name)`
    `Stream<RoleModel>` | RealmCacheSession.`getRealmRolesStream(RealmModel realm)`
    `Stream<RoleModel>` | RealmCacheSession.`getRealmRolesStream(RealmModel realm, Integer first, Integer max)`
    `RoleModel` | RealmCacheSession.`getRoleById(RealmModel realm, String id)`
    `Stream<UserModel>` | UserCacheSession.`getRoleMembersStream(RealmModel realm, RoleModel role)`
    `Stream<UserModel>` | UserCacheSession.`getRoleMembersStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)`
    `Stream<GroupModel>` | RealmCacheSession.`getTopLevelGroupsStream(RealmModel realm)`
    `Stream<GroupModel>` | RealmCacheSession.`getTopLevelGroupsStream(RealmModel realm, Integer first, Integer max)`
    `protected UserModel` | UserCacheSession.`getUserAdapter(RealmModel realm, String userId, Long loaded, UserModel delegate)`
    `UserModel` | UserCacheSession.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | UserCacheSession.`getUserByFederatedIdentity(FederatedIdentityModel socialLink, RealmModel realm)`
    `UserModel` | UserCacheSession.`getUserById(String id, RealmModel realm)`
    `UserModel` | UserCacheSession.`getUserByUsername(String username, RealmModel realm)`
    `int` | UserCacheSession.`getUsersCount(Map<String,String> params, RealmModel realm)`
    `int` | UserCacheSession.`getUsersCount(Map<String,String> params, RealmModel realm, Set<String> groupIds)`
    `int` | UserCacheSession.`getUsersCount(RealmModel realm)`
    `int` | UserCacheSession.`getUsersCount(RealmModel realm, boolean includeServiceAccount)`
    `int` | UserCacheSession.`getUsersCount(RealmModel realm, Set<String> groupIds)`
    `int` | UserCacheSession.`getUsersCount(String search, RealmModel realm)`
    `int` | UserCacheSession.`getUsersCount(String search, RealmModel realm, Set<String> groupIds)`
    `Stream<UserModel>` | UserCacheSession.`getUsersStream(RealmModel realm)`
    `Stream<UserModel>` | UserCacheSession.`getUsersStream(RealmModel realm, boolean includeServiceAccounts)`
    `Stream<UserModel>` | UserCacheSession.`getUsersStream(RealmModel realm, Integer firstResult, Integer maxResults, boolean includeServiceAccounts)`
    `Stream<UserModel>` | UserCacheSession.`getUsersStream(RealmModel realm, int firstResult, int maxResults)`
    `void` | UserCacheSession.`grantToAllUsers(RealmModel realm, RoleModel role)`
    `Stream<ClientInitialAccessModel>` | RealmCacheSession.`listClientInitialAccessStream(RealmModel realm)`
    `void` | RealmCacheSession.`moveGroup(RealmModel realm, GroupModel group, GroupModel toParent)`
    `void` | UserCacheSession.`preRemove(RealmModel realm)`
    `void` | UserCacheSession.`preRemove(RealmModel realm, ClientModel client)`
    `void` | UserCacheSession.`preRemove(RealmModel realm, ComponentModel component)`
    `void` | UserCacheSession.`preRemove(RealmModel realm, GroupModel group)`
    `void` | UserCacheSession.`preRemove(RealmModel realm, IdentityProviderModel provider)`
    `void` | UserCacheSession.`preRemove(RealmModel realm, RoleModel role)`
    `void` | RealmCacheSession.`preRemove(RealmModel realm, RoleModel role)`
    `void` | UserCacheSession.`registerUserInvalidation(RealmModel realm, CachedUser user)`
    `boolean` | RealmCacheSession.`removeClient(RealmModel realm, String id)`
    `void` | RealmCacheSession.`removeClientInitialAccessModel(RealmModel realm, String id)`
    `void` | RealmCacheSession.`removeClients(RealmModel realm)`
    `boolean` | UserCacheSession.`removeFederatedIdentity(RealmModel realm, UserModel user, String socialProvider)`
    `boolean` | RealmCacheSession.`removeGroup(RealmModel realm, GroupModel group)`
    `void` | UserCacheSession.`removeImportedUsers(RealmModel realm, String storageProviderId)`
    `void` | RealmCacheSession.`removeRoles(RealmModel realm)`
    `boolean` | UserCacheSession.`removeUser(RealmModel realm, UserModel user)`
    `boolean` | UserCacheSession.`revokeConsentForClient(RealmModel realm, String userId, String clientInternalId)`
    `void` | RealmCacheSession.`saveLocalizationText(RealmModel realm, String locale, String key, String text)`
    `void` | RealmCacheSession.`saveLocalizationTexts(RealmModel realm, String locale, Map<String,String> localizationTexts)`
    `Stream<ClientModel>` | RealmCacheSession.`searchClientsByClientIdStream(RealmModel realm, String clientId, Integer firstResult, Integer maxResults)`
    `Stream<GroupModel>` | RealmCacheSession.`searchForGroupByNameStream(RealmModel realm, String search, Integer first, Integer max)`
    `Stream<RoleModel>` | RealmCacheSession.`searchForRolesStream(RealmModel realm, String search, Integer first, Integer max)`
    `Stream<UserModel>` | UserCacheSession.`searchForUserByUserAttributeStream(String attrName, String attrValue, RealmModel realm)`
    `Stream<UserModel>` | UserCacheSession.`searchForUserStream(Map<String,String> attributes, RealmModel realm)`
    `Stream<UserModel>` | UserCacheSession.`searchForUserStream(Map<String,String> attributes, RealmModel realm, Integer firstResult, Integer maxResults)`
    `Stream<UserModel>` | UserCacheSession.`searchForUserStream(String search, RealmModel realm)`
    `Stream<UserModel>` | UserCacheSession.`searchForUserStream(String search, RealmModel realm, Integer firstResult, Integer maxResults)`
    `void` | UserCacheSession.`setNotBeforeForUser(RealmModel realm, UserModel user, int notBefore)`
    `void` | UserCacheSession.`unlinkUsers(RealmModel realm, String storageProviderId)`
    `void` | UserCacheSession.`updateConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | UserCacheSession.`updateFederatedIdentity(RealmModel realm, UserModel federatedUser, FederatedIdentityModel federatedIdentityModel)`
    `boolean` | RealmCacheSession.`updateLocalizationText(RealmModel realm, String locale, String key, String text)`
    `protected ClientModel` | RealmCacheSession.`validateCache(RealmModel realm, CachedClient cached)`
    `protected UserModel` | UserCacheSession.`validateCache(RealmModel realm, CachedUser cached)`

    Constructors in org.keycloak.models.cache.infinispan with parameters of type RealmModel
    Constructor and Description
    `ClientAdapter(RealmModel cachedRealm, CachedClient cached, RealmCacheSession cacheSession)`
    `ClientScopeAdapter(RealmModel cachedRealm, CachedClientScope cached, RealmCacheSession cacheSession)`
    `GroupAdapter(CachedGroup cached, RealmCacheSession cacheSession, KeycloakSession keycloakSession, RealmModel realm)`
    `RoleAdapter(CachedRole cached, RealmCacheSession session, RealmModel realm)`
    `UserAdapter(CachedUser cached, UserCacheSession userProvider, KeycloakSession keycloakSession, RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.models.cache.infinispan.entities

    Methods in org.keycloak.models.cache.infinispan.entities with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | CachedRealm.`cacheClientScopes(RealmModel model)`

    Constructors in org.keycloak.models.cache.infinispan.entities with parameters of type RealmModel
    Constructor and Description
    `CachedClient(Long revision, RealmModel realm, ClientModel model)`
    `CachedClientRole(Long revision, String clientId, RoleModel model, RealmModel realm)`
    `CachedClientScope(Long revision, RealmModel realm, ClientScopeModel model)`
    `CachedFederatedIdentityLinks(Long revision, String id, RealmModel realm, Set<FederatedIdentityModel> federatedIdentities)`
    `CachedGroup(Long revision, RealmModel realm, GroupModel group)`
    `CachedRealm(Long revision, RealmModel model)`
    `CachedRealmRole(Long revision, RoleModel model, RealmModel realm)`
    `CachedRole(Long revision, RoleModel model, RealmModel realm)`
    `CachedUser(Long revision, RealmModel realm, UserModel user, int notBefore)`
    `CachedUserConsents(Long revision, String id, RealmModel realm, List<UserConsentModel> consents)`
    `ClientListQuery(Long revisioned, String id, RealmModel realm, Set<String> clients)`
    `ClientListQuery(Long revisioned, String id, RealmModel realm, String client)`
    `GroupListQuery(Long revisioned, String id, RealmModel realm, Set<String> groups)`
    `RoleListQuery(Long revisioned, String id, RealmModel realm, Set<String> roles)`
    `RoleListQuery(Long revision, String id, RealmModel realm, Set<String> roles, String client)`
    `RoleListQuery(Long revisioned, String id, RealmModel realm, String role)`
    `RoleListQuery(Long revision, String id, RealmModel realm, String role, String client)`
    `UserListQuery(Long revisioned, String id, RealmModel realm, Set<String> users)`
    `UserListQuery(Long revisioned, String id, RealmModel realm, String user)`

  - ### Uses of RealmModel in org.keycloak.models.credential

    Methods in org.keycloak.models.credential with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static OTPCredentialModel` | OTPCredentialModel.`createFromPolicy(RealmModel realm, String secretValue)`
    `static OTPCredentialModel` | OTPCredentialModel.`createFromPolicy(RealmModel realm, String secretValue, String userLabel)`

  - ### Uses of RealmModel in org.keycloak.models.jpa

    Classes in org.keycloak.models.jpa that implement RealmModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RealmAdapter`

    Fields in org.keycloak.models.jpa declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | UserAdapter.`realm`
    `protected RealmModel` | RoleAdapter.`realm`
    `protected RealmModel` | GroupAdapter.`realm`
    `protected RealmModel` | ClientScopeAdapter.`realm`
    `protected RealmModel` | ClientAdapter.`realm`

    Methods in org.keycloak.models.jpa that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | JpaRealmProvider.`createRealm(String name)`
    `RealmModel` | JpaRealmProvider.`createRealm(String id, String name)`
    `RealmModel` | ClientScopeAdapter.`getRealm()`
    `RealmModel` | ClientAdapter.`getRealm()`
    `RealmModel` | JpaRealmProvider.`getRealm(String id)`
    `RealmModel` | JpaRealmProvider.`getRealmByName(String name)`

    Methods in org.keycloak.models.jpa that return types with arguments of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `Stream<RealmModel>` | JpaRealmProvider.`getRealmsStream()`
    `Stream<RealmModel>` | JpaRealmProvider.`getRealmsWithProviderTypeStream(Class<?> providerType)`

    Methods in org.keycloak.models.jpa with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | JpaRealmProvider.`addClient(RealmModel realm, String clientId)`
    `ClientModel` | JpaRealmProvider.`addClient(RealmModel realm, String id, String clientId)`
    `void` | JpaUserProvider.`addConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | JpaUserProvider.`addFederatedIdentity(RealmModel realm, UserModel user, FederatedIdentityModel identity)`
    `RoleModel` | JpaRealmProvider.`addRealmRole(RealmModel realm, String name)`
    `RoleModel` | JpaRealmProvider.`addRealmRole(RealmModel realm, String id, String name)`
    `void` | JpaRealmProvider.`addTopLevelGroup(RealmModel realm, GroupModel subGroup)`
    `UserModel` | JpaUserProvider.`addUser(RealmModel realm, String username)`
    `UserModel` | JpaUserProvider.`addUser(RealmModel realm, String id, String username, boolean addDefaultRoles, boolean addDefaultRequiredActions)`
    `ClientInitialAccessModel` | JpaRealmProvider.`createClientInitialAccessModel(RealmModel realm, int expiration, int count)`
    `CredentialModel` | JpaUserProvider.`createCredential(RealmModel realm, UserModel user, CredentialModel cred)`
    `CredentialModel` | JpaUserCredentialStore.`createCredential(RealmModel realm, UserModel user, CredentialModel cred)`
    `GroupModel` | JpaRealmProvider.`createGroup(RealmModel realm, String id, String name, GroupModel toParent)`
    `void` | JpaRealmProvider.`decreaseRemainingCount(RealmModel realm, ClientInitialAccessModel clientInitialAccess)`
    `boolean` | JpaRealmProvider.`deleteLocalizationText(RealmModel realm, String locale, String key)`
    `boolean` | JpaRealmProvider.`deleteLocalizationTextsByLocale(RealmModel realm, String locale)`
    `protected void` | JpaUserProvider.`ensureEmailConstraint(List<UserEntity> users, RealmModel realm)`
    `Stream<ClientModel>` | JpaRealmProvider.`getAlwaysDisplayInConsoleClientsStream(RealmModel realm)`
    `ClientModel` | JpaRealmProvider.`getClientByClientId(RealmModel realm, String clientId)`
    `ClientModel` | JpaRealmProvider.`getClientById(RealmModel realm, String id)`
    `ClientInitialAccessModel` | JpaRealmProvider.`getClientInitialAccessModel(RealmModel realm, String id)`
    `ClientScopeModel` | JpaRealmProvider.`getClientScopeById(String id, RealmModel realm)`
    `long` | JpaRealmProvider.`getClientsCount(RealmModel realm)`
    `Stream<ClientModel>` | JpaRealmProvider.`getClientsStream(RealmModel realm)`
    `Stream<ClientModel>` | JpaRealmProvider.`getClientsStream(RealmModel realm, Integer firstResult, Integer maxResults)`
    `UserConsentModel` | JpaUserProvider.`getConsentByClient(RealmModel realm, String userId, String clientId)`
    `Stream<UserConsentModel>` | JpaUserProvider.`getConsentsStream(RealmModel realm, String userId)`
    `Stream<FederatedIdentityModel>` | JpaUserProvider.`getFederatedIdentitiesStream(UserModel user, RealmModel realm)`
    `FederatedIdentityModel` | JpaUserProvider.`getFederatedIdentity(UserModel user, String identityProvider, RealmModel realm)`
    `GroupModel` | JpaRealmProvider.`getGroupById(RealmModel realm, String id)`
    `Stream<UserModel>` | JpaUserProvider.`getGroupMembersStream(RealmModel realm, GroupModel group)`
    `Stream<UserModel>` | JpaUserProvider.`getGroupMembersStream(RealmModel realm, GroupModel group, Integer firstResult, Integer maxResults)`
    `Stream<GroupModel>` | JpaRealmProvider.`getGroupsByRoleStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)`
    `Long` | JpaRealmProvider.`getGroupsCount(RealmModel realm, Boolean onlyTopGroups)`
    `Long` | JpaRealmProvider.`getGroupsCount(RealmModel realm, Stream<String> ids, String search)`
    `Long` | JpaRealmProvider.`getGroupsCountByNameContaining(RealmModel realm, String search)`
    `Stream<GroupModel>` | JpaRealmProvider.`getGroupsStream(RealmModel realm)`
    `Stream<GroupModel>` | JpaRealmProvider.`getGroupsStream(RealmModel realm, Stream<String> ids)`
    `Stream<GroupModel>` | JpaRealmProvider.`getGroupsStream(RealmModel realm, Stream<String> ids, Integer first, Integer max)`
    `Stream<GroupModel>` | JpaRealmProvider.`getGroupsStream(RealmModel realm, Stream<String> ids, String search, Integer first, Integer max)`
    `String` | JpaRealmProvider.`getLocalizationTextsById(RealmModel realm, String locale, String key)`
    `int` | JpaUserProvider.`getNotBeforeOfUser(RealmModel realm, UserModel user)`
    `RoleModel` | JpaRealmProvider.`getRealmRole(RealmModel realm, String name)`
    `Stream<RoleModel>` | JpaRealmProvider.`getRealmRolesStream(RealmModel realm)`
    `Stream<RoleModel>` | JpaRealmProvider.`getRealmRolesStream(RealmModel realm, Integer first, Integer max)`
    `RoleModel` | JpaRealmProvider.`getRoleById(RealmModel realm, String id)`
    `Stream<UserModel>` | JpaUserProvider.`getRoleMembersStream(RealmModel realm, RoleModel role)`
    `Stream<UserModel>` | JpaUserProvider.`getRoleMembersStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)`
    `protected Stream<RoleModel>` | JpaRealmProvider.`getRolesStream(javax.persistence.TypedQuery<RoleEntity> query, RealmModel realm, Integer first, Integer max)`
    `CredentialModel` | JpaUserProvider.`getStoredCredentialById(RealmModel realm, UserModel user, String id)`
    `CredentialModel` | JpaUserCredentialStore.`getStoredCredentialById(RealmModel realm, UserModel user, String id)`
    `CredentialModel` | JpaUserProvider.`getStoredCredentialByNameAndType(RealmModel realm, UserModel user, String name, String type)`
    `CredentialModel` | JpaUserCredentialStore.`getStoredCredentialByNameAndType(RealmModel realm, UserModel user, String name, String type)`
    `Stream<CredentialModel>` | JpaUserProvider.`getStoredCredentialsByTypeStream(RealmModel realm, UserModel user, String type)`
    `Stream<CredentialModel>` | JpaUserCredentialStore.`getStoredCredentialsByTypeStream(RealmModel realm, UserModel user, String type)`
    `Stream<CredentialModel>` | JpaUserProvider.`getStoredCredentialsStream(RealmModel realm, UserModel user)`
    `Stream<CredentialModel>` | JpaUserCredentialStore.`getStoredCredentialsStream(RealmModel realm, UserModel user)`
    `Stream<GroupModel>` | JpaRealmProvider.`getTopLevelGroupsStream(RealmModel realm)`
    `Stream<GroupModel>` | JpaRealmProvider.`getTopLevelGroupsStream(RealmModel realm, Integer first, Integer max)`
    `UserModel` | JpaUserProvider.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | JpaUserProvider.`getUserByFederatedIdentity(FederatedIdentityModel identity, RealmModel realm)`
    `UserModel` | JpaUserProvider.`getUserById(String id, RealmModel realm)`
    `UserModel` | JpaUserProvider.`getUserByUsername(String username, RealmModel realm)`
    `int` | JpaUserProvider.`getUsersCount(Map<String,String> params, RealmModel realm)`
    `int` | JpaUserProvider.`getUsersCount(Map<String,String> params, RealmModel realm, Set<String> groupIds)`
    `int` | JpaUserProvider.`getUsersCount(RealmModel realm)`
    `int` | JpaUserProvider.`getUsersCount(RealmModel realm, boolean includeServiceAccount)`
    `int` | JpaUserProvider.`getUsersCount(RealmModel realm, Set<String> groupIds)`
    `int` | JpaUserProvider.`getUsersCount(String search, RealmModel realm)`
    `int` | JpaUserProvider.`getUsersCount(String search, RealmModel realm, Set<String> groupIds)`
    `Stream<UserModel>` | JpaUserProvider.`getUsersStream(RealmModel realm)`
    `Stream<UserModel>` | JpaUserProvider.`getUsersStream(RealmModel realm, boolean includeServiceAccounts)`
    `Stream<UserModel>` | JpaUserProvider.`getUsersStream(RealmModel realm, Integer firstResult, Integer maxResults, boolean includeServiceAccounts)`
    `Stream<UserModel>` | JpaUserProvider.`getUsersStream(RealmModel realm, int firstResult, int maxResults)`
    `void` | JpaUserProvider.`grantToAllUsers(RealmModel realm, RoleModel role)`
    `Stream<ClientInitialAccessModel>` | JpaRealmProvider.`listClientInitialAccessStream(RealmModel realm)`
    `boolean` | JpaUserProvider.`moveCredentialTo(RealmModel realm, UserModel user, String id, String newPreviousCredentialId)`
    `boolean` | JpaUserCredentialStore.`moveCredentialTo(RealmModel realm, UserModel user, String id, String newPreviousCredentialId)`
    `void` | JpaRealmProvider.`moveGroup(RealmModel realm, GroupModel group, GroupModel toParent)`
    `void` | JpaUserProvider.`preRemove(RealmModel realm)`
    `void` | JpaUserProvider.`preRemove(RealmModel realm, ClientModel client)`
    `void` | JpaUserProvider.`preRemove(RealmModel realm, ComponentModel component)`
    `void` | JpaUserProvider.`preRemove(RealmModel realm, GroupModel group)`
    `void` | JpaUserProvider.`preRemove(RealmModel realm, IdentityProviderModel provider)`
    `void` | JpaUserProvider.`preRemove(RealmModel realm, RoleModel role)`
    `void` | JpaRealmProvider.`preRemove(RealmModel realm, RoleModel role)`
    `boolean` | JpaRealmProvider.`removeClient(RealmModel realm, String id)`
    `void` | JpaRealmProvider.`removeClientInitialAccessModel(RealmModel realm, String id)`
    `void` | JpaRealmProvider.`removeClients(RealmModel realm)`
    `protected void` | JpaUserProvider.`removeConsentByClientStorageProvider(RealmModel realm, String providerId)`
    `boolean` | JpaUserProvider.`removeFederatedIdentity(RealmModel realm, UserModel user, String identityProvider)`
    `boolean` | JpaRealmProvider.`removeGroup(RealmModel realm, GroupModel group)`
    `void` | JpaUserProvider.`removeImportedUsers(RealmModel realm, String storageProviderId)`
    `void` | JpaRealmProvider.`removeRoles(RealmModel realm)`
    `boolean` | JpaUserProvider.`removeStoredCredential(RealmModel realm, UserModel user, String id)`
    `boolean` | JpaUserCredentialStore.`removeStoredCredential(RealmModel realm, UserModel user, String id)`
    `boolean` | JpaUserProvider.`removeUser(RealmModel realm, UserModel user)`
    `boolean` | JpaUserProvider.`revokeConsentForClient(RealmModel realm, String userId, String clientId)`
    `void` | JpaRealmProvider.`saveLocalizationText(RealmModel realm, String locale, String key, String text)`
    `void` | JpaRealmProvider.`saveLocalizationTexts(RealmModel realm, String locale, Map<String,String> localizationTexts)`
    `Stream<ClientModel>` | JpaRealmProvider.`searchClientsByClientIdStream(RealmModel realm, String clientId, Integer firstResult, Integer maxResults)`
    `Stream<GroupModel>` | JpaRealmProvider.`searchForGroupByNameStream(RealmModel realm, String search, Integer first, Integer max)`
    `protected Stream<RoleModel>` | JpaRealmProvider.`searchForRoles(javax.persistence.TypedQuery<RoleEntity> query, RealmModel realm, String search, Integer first, Integer max)`
    `Stream<RoleModel>` | JpaRealmProvider.`searchForRolesStream(RealmModel realm, String search, Integer first, Integer max)`
    `Stream<UserModel>` | JpaUserProvider.`searchForUserByUserAttributeStream(String attrName, String attrValue, RealmModel realm)`
    `Stream<UserModel>` | JpaUserProvider.`searchForUserStream(Map<String,String> attributes, RealmModel realm)`
    `Stream<UserModel>` | JpaUserProvider.`searchForUserStream(Map<String,String> attributes, RealmModel realm, Integer firstResult, Integer maxResults)`
    `Stream<UserModel>` | JpaUserProvider.`searchForUserStream(String search, RealmModel realm)`
    `Stream<UserModel>` | JpaUserProvider.`searchForUserStream(String search, RealmModel realm, Integer firstResult, Integer maxResults)`
    `void` | JpaUserProvider.`setNotBeforeForUser(RealmModel realm, UserModel user, int notBefore)`
    `void` | JpaUserProvider.`unlinkUsers(RealmModel realm, String storageProviderId)`
    `void` | JpaUserProvider.`updateConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | JpaUserProvider.`updateCredential(RealmModel realm, UserModel user, CredentialModel cred)`
    `void` | JpaUserCredentialStore.`updateCredential(RealmModel realm, UserModel user, CredentialModel cred)`
    `void` | JpaUserProvider.`updateFederatedIdentity(RealmModel realm, UserModel federatedUser, FederatedIdentityModel federatedIdentityModel)`
    `boolean` | JpaRealmProvider.`updateLocalizationText(RealmModel realm, String locale, String key, String text)`

    Constructors in org.keycloak.models.jpa with parameters of type RealmModel
    Constructor and Description
    `ClientAdapter(RealmModel realm, javax.persistence.EntityManager em, KeycloakSession session, ClientEntity entity)`
    `ClientScopeAdapter(RealmModel realm, javax.persistence.EntityManager em, KeycloakSession session, ClientScopeEntity entity)`
    `GroupAdapter(RealmModel realm, javax.persistence.EntityManager em, GroupEntity group)`
    `RoleAdapter(KeycloakSession session, RealmModel realm, javax.persistence.EntityManager em, RoleEntity role)`
    `UserAdapter(KeycloakSession session, RealmModel realm, javax.persistence.EntityManager em, UserEntity user)`

  - ### Uses of RealmModel in org.keycloak.models.jpa.session

    Methods in org.keycloak.models.jpa.session with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | JpaUserSessionPersisterProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | JpaUserSessionPersisterProvider.`onRealmRemoved(RealmModel realm)`
    `void` | JpaUserSessionPersisterProvider.`onUserRemoved(RealmModel realm, UserModel user)`
    `void` | JpaUserSessionPersisterProvider.`removeExpired(RealmModel realm)`
    `void` | JpaUserSessionPersisterProvider.`updateLastSessionRefreshes(RealmModel realm, int lastSessionRefresh, Collection<String> userSessionIds, boolean offline)`

  - ### Uses of RealmModel in org.keycloak.models.map.authSession

    Fields in org.keycloak.models.map.authSession declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | AbstractRootAuthenticationSessionModel.`realm`

    Methods in org.keycloak.models.map.authSession that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | MapRootAuthenticationSessionAdapter.`getRealm()`
    `RealmModel` | MapAuthenticationSessionAdapter.`getRealm()`

    Methods in org.keycloak.models.map.authSession with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RootAuthenticationSessionModel` | MapRootAuthenticationSessionProvider.`createRootAuthenticationSession(RealmModel realm)`
    `RootAuthenticationSessionModel` | MapRootAuthenticationSessionProvider.`createRootAuthenticationSession(RealmModel realm, String id)`
    `RootAuthenticationSessionModel` | MapRootAuthenticationSessionProvider.`getRootAuthenticationSession(RealmModel realm, String authenticationSessionId)`
    `void` | MapRootAuthenticationSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | MapRootAuthenticationSessionProvider.`onRealmRemoved(RealmModel realm)`
    `void` | MapRootAuthenticationSessionProvider.`removeExpired(RealmModel realm)`
    `void` | MapRootAuthenticationSessionProvider.`removeRootAuthenticationSession(RealmModel realm, RootAuthenticationSessionModel authenticationSession)`
    `void` | MapRootAuthenticationSessionAdapter.`restartSession(RealmModel realm)`

    Constructors in org.keycloak.models.map.authSession with parameters of type RealmModel
    Constructor and Description
    `AbstractRootAuthenticationSessionModel(KeycloakSession session, RealmModel realm, E entity)`
    `MapRootAuthenticationSessionAdapter(KeycloakSession session, RealmModel realm, MapRootAuthenticationSessionEntity entity)`

  - ### Uses of RealmModel in org.keycloak.models.map.client

    Fields in org.keycloak.models.map.client declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | AbstractClientModel.`realm`

    Methods in org.keycloak.models.map.client that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | MapClientAdapter.`getRealm()`

    Methods in org.keycloak.models.map.client with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | MapClientProvider.`addClient(RealmModel realm, String id, String clientId)`
    `Stream<ClientModel>` | MapClientProvider.`getAlwaysDisplayInConsoleClientsStream(RealmModel realm)`
    `ClientModel` | MapClientProvider.`getClientByClientId(RealmModel realm, String clientId)`
    `ClientModel` | MapClientProvider.`getClientById(RealmModel realm, String id)`
    `long` | MapClientProvider.`getClientsCount(RealmModel realm)`
    `Stream<ClientModel>` | MapClientProvider.`getClientsStream(RealmModel realm)`
    `Stream<ClientModel>` | MapClientProvider.`getClientsStream(RealmModel realm, Integer firstResult, Integer maxResults)`
    `boolean` | MapClientProvider.`removeClient(RealmModel realm, String id)`
    `void` | MapClientProvider.`removeClients(RealmModel realm)`
    `Stream<ClientModel>` | MapClientProvider.`searchClientsByClientIdStream(RealmModel realm, String clientId, Integer firstResult, Integer maxResults)`

    Constructors in org.keycloak.models.map.client with parameters of type RealmModel
    Constructor and Description
    `AbstractClientModel(KeycloakSession session, RealmModel realm, E entity)`
    `MapClientAdapter(KeycloakSession session, RealmModel realm, MapClientEntity entity)`

  - ### Uses of RealmModel in org.keycloak.models.map.group

    Fields in org.keycloak.models.map.group declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | AbstractGroupModel.`realm`

    Methods in org.keycloak.models.map.group with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | MapGroupProvider.`addTopLevelGroup(RealmModel realm, GroupModel subGroup)`
    `GroupModel` | MapGroupProvider.`createGroup(RealmModel realm, String id, String name, GroupModel toParent)`
    `GroupModel` | MapGroupProvider.`getGroupById(RealmModel realm, String id)`
    `Stream<GroupModel>` | MapGroupProvider.`getGroupsByRoleStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)`
    `Long` | MapGroupProvider.`getGroupsCount(RealmModel realm, Boolean onlyTopGroups)`
    `Long` | MapGroupProvider.`getGroupsCountByNameContaining(RealmModel realm, String search)`
    `Stream<GroupModel>` | MapGroupProvider.`getGroupsStream(RealmModel realm)`
    `Stream<GroupModel>` | MapGroupProvider.`getGroupsStream(RealmModel realm, Stream<String> ids, String search, Integer first, Integer max)`
    `Stream<GroupModel>` | MapGroupProvider.`getTopLevelGroupsStream(RealmModel realm)`
    `Stream<GroupModel>` | MapGroupProvider.`getTopLevelGroupsStream(RealmModel realm, Integer firstResult, Integer maxResults)`
    `void` | MapGroupProvider.`moveGroup(RealmModel realm, GroupModel group, GroupModel toParent)`
    `void` | MapGroupProvider.`preRemove(RealmModel realm, RoleModel role)`
    `boolean` | MapGroupProvider.`removeGroup(RealmModel realm, GroupModel group)`
    `Stream<GroupModel>` | MapGroupProvider.`searchForGroupByNameStream(RealmModel realm, String search, Integer firstResult, Integer maxResults)`

    Constructors in org.keycloak.models.map.group with parameters of type RealmModel
    Constructor and Description
    `AbstractGroupModel(KeycloakSession session, RealmModel realm, E entity)`
    `MapGroupAdapter(KeycloakSession session, RealmModel realm, MapGroupEntity entity)`

  - ### Uses of RealmModel in org.keycloak.models.map.role

    Fields in org.keycloak.models.map.role declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | AbstractRoleModel.`realm`

    Methods in org.keycloak.models.map.role with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RoleModel` | MapRoleProvider.`addRealmRole(RealmModel realm, String id, String name)`
    `RoleModel` | MapRoleProvider.`getRealmRole(RealmModel realm, String name)`
    `Stream<RoleModel>` | MapRoleProvider.`getRealmRolesStream(RealmModel realm)`
    `Stream<RoleModel>` | MapRoleProvider.`getRealmRolesStream(RealmModel realm, Integer first, Integer max)`
    `RoleModel` | MapRoleProvider.`getRoleById(RealmModel realm, String id)`
    `void` | MapRoleProvider.`removeRoles(RealmModel realm)`
    `Stream<RoleModel>` | MapRoleProvider.`searchForRolesStream(RealmModel realm, String search, Integer first, Integer max)`

    Constructors in org.keycloak.models.map.role with parameters of type RealmModel
    Constructor and Description
    `AbstractRoleModel(KeycloakSession session, RealmModel realm, E entity)`
    `MapRoleAdapter(KeycloakSession session, RealmModel realm, MapRoleEntity entity)`

  - ### Uses of RealmModel in org.keycloak.models.map.user

    Fields in org.keycloak.models.map.user declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | AbstractUserModel.`realm`

    Methods in org.keycloak.models.map.user with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | MapUserProvider.`addConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | MapUserProvider.`addFederatedIdentity(RealmModel realm, UserModel user, FederatedIdentityModel socialLink)`
    `UserModel` | MapUserProvider.`addUser(RealmModel realm, String username)`
    `UserModel` | MapUserProvider.`addUser(RealmModel realm, String id, String username, boolean addDefaultRoles, boolean addDefaultRequiredActions)`
    `abstract boolean` | MapUserAdapter.`checkEmailUniqueness(RealmModel realm, String email)`
    `abstract boolean` | MapUserAdapter.`checkUsernameUniqueness(RealmModel realm, String username)`
    `CredentialModel` | MapUserProvider.`createCredential(RealmModel realm, UserModel user, CredentialModel cred)`
    `UserConsentModel` | MapUserProvider.`getConsentByClient(RealmModel realm, String userId, String clientInternalId)`
    `Stream<UserConsentModel>` | MapUserProvider.`getConsentsStream(RealmModel realm, String userId)`
    `Stream<FederatedIdentityModel>` | MapUserProvider.`getFederatedIdentitiesStream(UserModel user, RealmModel realm)`
    `FederatedIdentityModel` | MapUserProvider.`getFederatedIdentity(UserModel user, String socialProvider, RealmModel realm)`
    `Stream<UserModel>` | MapUserProvider.`getGroupMembersStream(RealmModel realm, GroupModel group)`
    `Stream<UserModel>` | MapUserProvider.`getGroupMembersStream(RealmModel realm, GroupModel group, Integer firstResult, Integer maxResults)`
    `int` | MapUserProvider.`getNotBeforeOfUser(RealmModel realm, UserModel user)`
    `Stream<UserModel>` | MapUserProvider.`getRoleMembersStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)`
    `CredentialModel` | MapUserProvider.`getStoredCredentialById(RealmModel realm, UserModel user, String id)`
    `CredentialModel` | MapUserProvider.`getStoredCredentialByNameAndType(RealmModel realm, UserModel user, String name, String type)`
    `Stream<CredentialModel>` | MapUserProvider.`getStoredCredentialsByTypeStream(RealmModel realm, UserModel user, String type)`
    `Stream<CredentialModel>` | MapUserProvider.`getStoredCredentialsStream(RealmModel realm, UserModel user)`
    `UserModel` | MapUserProvider.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | MapUserProvider.`getUserByFederatedIdentity(FederatedIdentityModel socialLink, RealmModel realm)`
    `UserModel` | MapUserProvider.`getUserById(String id, RealmModel realm)`
    `UserModel` | MapUserProvider.`getUserByUsername(String username, RealmModel realm)`
    `int` | MapUserProvider.`getUsersCount(RealmModel realm)`
    `int` | MapUserProvider.`getUsersCount(RealmModel realm, boolean includeServiceAccount)`
    `Stream<UserModel>` | MapUserProvider.`getUsersStream(RealmModel realm)`
    `Stream<UserModel>` | MapUserProvider.`getUsersStream(RealmModel realm, boolean includeServiceAccounts)`
    `Stream<UserModel>` | MapUserProvider.`getUsersStream(RealmModel realm, Integer firstResult, Integer maxResults, boolean includeServiceAccounts)`
    `Stream<UserModel>` | MapUserProvider.`getUsersStream(RealmModel realm, int firstResult, int maxResults)`
    `void` | MapUserProvider.`grantToAllUsers(RealmModel realm, RoleModel role)`
    `boolean` | MapUserProvider.`moveCredentialTo(RealmModel realm, UserModel user, String id, String newPreviousCredentialId)`
    `void` | MapUserProvider.`preRemove(RealmModel realm)`
    `void` | MapUserProvider.`preRemove(RealmModel realm, ClientModel client)`
    `void` | MapUserProvider.`preRemove(RealmModel realm, ComponentModel component)`
    `void` | MapUserProvider.`preRemove(RealmModel realm, GroupModel group)`
    `void` | MapUserProvider.`preRemove(RealmModel realm, IdentityProviderModel provider)`
    `void` | MapUserProvider.`preRemove(RealmModel realm, RoleModel role)`
    `boolean` | MapUserProvider.`removeFederatedIdentity(RealmModel realm, UserModel user, String socialProvider)`
    `void` | MapUserProvider.`removeImportedUsers(RealmModel realm, String storageProviderId)`
    `boolean` | MapUserProvider.`removeStoredCredential(RealmModel realm, UserModel user, String id)`
    `boolean` | MapUserProvider.`removeUser(RealmModel realm, UserModel user)`
    `boolean` | MapUserProvider.`revokeConsentForClient(RealmModel realm, String userId, String clientInternalId)`
    `Stream<UserModel>` | MapUserProvider.`searchForUserByUserAttributeStream(String attrName, String attrValue, RealmModel realm)`
    `Stream<UserModel>` | MapUserProvider.`searchForUserStream(Map<String,String> params, RealmModel realm)`
    `Stream<UserModel>` | MapUserProvider.`searchForUserStream(Map<String,String> attributes, RealmModel realm, Integer firstResult, Integer maxResults)`
    `Stream<UserModel>` | MapUserProvider.`searchForUserStream(String search, RealmModel realm)`
    `Stream<UserModel>` | MapUserProvider.`searchForUserStream(String search, RealmModel realm, Integer firstResult, Integer maxResults)`
    `void` | MapUserProvider.`setNotBeforeForUser(RealmModel realm, UserModel user, int notBefore)`
    `static UserConsentModel` | UserConsentEntity.`toModel(RealmModel realm, UserConsentEntity entity)`
    `void` | MapUserProvider.`unlinkUsers(RealmModel realm, String storageProviderId)`
    `void` | MapUserProvider.`updateConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | MapUserProvider.`updateCredential(RealmModel realm, UserModel user, CredentialModel cred)`
    `void` | MapUserProvider.`updateFederatedIdentity(RealmModel realm, UserModel federatedUser, FederatedIdentityModel federatedIdentityModel)`

    Constructors in org.keycloak.models.map.user with parameters of type RealmModel
    Constructor and Description
    `AbstractUserModel(KeycloakSession session, RealmModel realm, E entity)`
    `MapUserAdapter(KeycloakSession session, RealmModel realm, MapUserEntity entity)`

  - ### Uses of RealmModel in org.keycloak.models.session

    Methods in org.keycloak.models.session that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | PersistentUserSessionAdapter.`getRealm()`
    `RealmModel` | PersistentAuthenticatedClientSessionAdapter.`getRealm()`

    Methods in org.keycloak.models.session with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | UserSessionPersisterProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | DisabledUserSessionPersisterProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | UserSessionPersisterProvider.`onRealmRemoved(RealmModel realm)`
    `void` | DisabledUserSessionPersisterProvider.`onRealmRemoved(RealmModel realm)`
    `void` | UserSessionPersisterProvider.`onUserRemoved(RealmModel realm, UserModel user)`
    `void` | DisabledUserSessionPersisterProvider.`onUserRemoved(RealmModel realm, UserModel user)`
    `void` | UserSessionPersisterProvider.`removeExpired(RealmModel realm)`
    `void` | DisabledUserSessionPersisterProvider.`removeExpired(RealmModel realm)`
    `void` | PersistentUserSessionAdapter.`restartSession(RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId)`
    `void` | UserSessionPersisterProvider.`updateLastSessionRefreshes(RealmModel realm, int lastSessionRefresh, Collection<String> userSessionIds, boolean offline)`
    `void` | DisabledUserSessionPersisterProvider.`updateLastSessionRefreshes(RealmModel realm, int lastSessionRefresh, Collection<String> userSessionIds, boolean offline)`

    Constructors in org.keycloak.models.session with parameters of type RealmModel
    Constructor and Description
    `PersistentAuthenticatedClientSessionAdapter(PersistentClientSessionModel model, RealmModel realm, ClientModel client, UserSessionModel userSession)`
    `PersistentUserSessionAdapter(KeycloakSession session, PersistentUserSessionModel model, RealmModel realm, String userId, Map<String,AuthenticatedClientSessionModel> clientSessions)`

  - ### Uses of RealmModel in org.keycloak.models.sessions.infinispan

    Methods in org.keycloak.models.sessions.infinispan that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | UserSessionAdapter.`getRealm()`
    `RealmModel` | RootAuthenticationSessionAdapter.`getRealm()`
    `RealmModel` | AuthenticationSessionAdapter.`getRealm()`
    `RealmModel` | AuthenticatedClientSessionAdapter.`getRealm()`

    Methods in org.keycloak.models.sessions.infinispan with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `UserLoginFailureModel` | InfinispanUserSessionProvider.`addUserLoginFailure(RealmModel realm, String userId)`
    `AuthenticatedClientSessionModel` | InfinispanUserSessionProvider.`createClientSession(RealmModel realm, ClientModel client, UserSessionModel userSession)`
    `RootAuthenticationSessionModel` | InfinispanAuthenticationSessionProvider.`createRootAuthenticationSession(RealmModel realm)`
    `RootAuthenticationSessionModel` | InfinispanAuthenticationSessionProvider.`createRootAuthenticationSession(RealmModel realm, String id)`
    `UserSessionModel` | InfinispanUserSessionProvider.`createUserSession(RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId)`
    `UserSessionModel` | InfinispanUserSessionProvider.`createUserSession(String id, RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId, UserSessionModel.SessionPersistenceState persistenceState)`
    `Map<String,Long>` | InfinispanUserSessionProvider.`getActiveClientSessionStats(RealmModel realm, boolean offline)`
    `long` | InfinispanUserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `long` | InfinispanUserSessionProvider.`getOfflineSessionsCount(RealmModel realm, ClientModel client)`
    `UserSessionAdapter` | InfinispanUserSessionProvider.`getOfflineUserSession(RealmModel realm, String userSessionId)`
    `UserSessionModel` | InfinispanUserSessionProvider.`getOfflineUserSessionByBrokerSessionId(RealmModel realm, String brokerSessionId)`
    `Stream<UserSessionModel>` | InfinispanUserSessionProvider.`getOfflineUserSessionByBrokerUserIdStream(RealmModel realm, String brokerUserId)`
    `Stream<UserSessionModel>` | InfinispanUserSessionProvider.`getOfflineUserSessionsStream(RealmModel realm, ClientModel client, int first, int max)`
    `Stream<UserSessionModel>` | InfinispanUserSessionProvider.`getOfflineUserSessionsStream(RealmModel realm, UserModel user)`
    `RootAuthenticationSessionModel` | InfinispanAuthenticationSessionProvider.`getRootAuthenticationSession(RealmModel realm, String authenticationSessionId)`
    `UserLoginFailureModel` | InfinispanUserSessionProvider.`getUserLoginFailure(RealmModel realm, String userId)`
    `UserSessionModel` | InfinispanUserSessionProvider.`getUserSession(RealmModel realm, String id)`
    `protected UserSessionAdapter` | InfinispanUserSessionProvider.`getUserSession(RealmModel realm, String id, boolean offline)`
    `UserSessionModel` | InfinispanUserSessionProvider.`getUserSessionByBrokerSessionId(RealmModel realm, String brokerSessionId)`
    `Stream<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessionByBrokerUserIdStream(RealmModel realm, String brokerUserId)`
    `protected Stream<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessionModels(RealmModel realm, int firstResult, int maxResults, boolean offline, UserSessionPredicate predicate)`
    `protected long` | InfinispanUserSessionProvider.`getUserSessionsCount(RealmModel realm, ClientModel client, boolean offline)`
    `Stream<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessionsStream(RealmModel realm, ClientModel client)`
    `Stream<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessionsStream(RealmModel realm, ClientModel client, int firstResult, int maxResults)`
    `protected Stream<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessionsStream(RealmModel realm, ClientModel client, int firstResult, int maxResults, boolean offline)`
    `protected Stream<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessionsStream(RealmModel realm, Predicate<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>> predicate, boolean offline)`
    `Stream<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessionsStream(RealmModel realm, UserModel user)`
    `UserSessionModel` | InfinispanUserSessionProvider.`getUserSessionWithPredicate(RealmModel realm, String id, boolean offline, Predicate<UserSessionModel> predicate)`
    `void` | InfinispanUserSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | InfinispanAuthenticationSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | InfinispanUserSessionProvider.`onRealmRemoved(RealmModel realm)`
    `void` | InfinispanAuthenticationSessionProvider.`onRealmRemoved(RealmModel realm)`
    `protected void` | InfinispanUserSessionProvider.`onUserRemoved(RealmModel realm, UserModel user)`
    `void` | InfinispanUserSessionProvider.`removeAllUserLoginFailures(RealmModel realm)`
    `void` | InfinispanUserSessionProvider.`removeExpired(RealmModel realm)`
    `void` | InfinispanAuthenticationSessionProvider.`removeExpired(RealmModel realm)`
    `void` | InfinispanUserSessionProvider.`removeOfflineUserSession(RealmModel realm, UserSessionModel userSession)`
    `void` | InfinispanAuthenticationSessionProvider.`removeRootAuthenticationSession(RealmModel realm, RootAuthenticationSessionModel authenticationSession)`
    `void` | InfinispanUserSessionProvider.`removeUserLoginFailure(RealmModel realm, String userId)`
    `void` | InfinispanUserSessionProvider.`removeUserSession(RealmModel realm, UserSessionModel session)`
    `void` | InfinispanUserSessionProvider.`removeUserSessions(RealmModel realm)`
    `void` | InfinispanUserSessionProvider.`removeUserSessions(RealmModel realm, UserModel user)`
    `protected void` | InfinispanUserSessionProvider.`removeUserSessions(RealmModel realm, UserModel user, boolean offline)`
    `void` | RootAuthenticationSessionAdapter.`restartSession(RealmModel realm)`
    `void` | UserSessionAdapter.`restartSession(RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId)`
    `static Consumers.UserSessionModelsConsumer` | Consumers.`userSessionModels(InfinispanUserSessionProvider provider, RealmModel realm, boolean offline)`

    Constructors in org.keycloak.models.sessions.infinispan with parameters of type RealmModel
    Constructor and Description
    `RootAuthenticationSessionAdapter(KeycloakSession session, InfinispanAuthenticationSessionProvider provider, org.infinispan.Cache<String,RootAuthenticationSessionEntity> cache, RealmModel realm, RootAuthenticationSessionEntity entity)`
    `UserSessionAdapter(KeycloakSession session, InfinispanUserSessionProvider provider, InfinispanChangelogBasedTransaction<String,UserSessionEntity> userSessionUpdateTx, InfinispanChangelogBasedTransaction<UUID,AuthenticatedClientSessionEntity> clientSessionUpdateTx, RealmModel realm, UserSessionEntity entity, boolean offline)`

  - ### Uses of RealmModel in org.keycloak.models.sessions.infinispan.changes

    Methods in org.keycloak.models.sessions.infinispan.changes with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | InfinispanChangelogBasedTransaction.`reloadEntityInCurrentTransaction(RealmModel realm, K key, SessionEntityWrapper<V> entity)`

  - ### Uses of RealmModel in org.keycloak.models.sessions.infinispan.changes.sessions

    Methods in org.keycloak.models.sessions.infinispan.changes.sessions with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `SessionUpdateTask.CrossDCMessageStatus` | CrossDCLastSessionRefreshChecker.`shouldSaveClientSessionToRemoteCache(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<AuthenticatedClientSessionEntity> sessionWrapper, UserSessionModel userSession, boolean offline, int newTimestamp)`
    `SessionUpdateTask.CrossDCMessageStatus` | CrossDCLastSessionRefreshChecker.`shouldSaveUserSessionToRemoteCache(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<UserSessionEntity> sessionWrapper, boolean offline, int newLastSessionRefresh)`

  - ### Uses of RealmModel in org.keycloak.models.sessions.infinispan.remotestore

    Methods in org.keycloak.models.sessions.infinispan.remotestore with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `long` | RemoteCacheInvoker.MaxIdleTimeLoader.`getMaxIdleTimeMs(RealmModel realm)`
    `<K,V extends SessionEntity> void` | RemoteCacheInvoker.`runTask(KeycloakSession kcSession, RealmModel realm, String cacheName, K key, SessionUpdateTask<V> task, SessionEntityWrapper<V> sessionWrapper)`

  - ### Uses of RealmModel in org.keycloak.models.utils

    Methods in org.keycloak.models.utils with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static void` | DefaultRequiredActions.`addActions(RealmModel realm)`
    `static void` | DefaultRoles.`addDefaultRoles(RealmModel realm, UserModel userModel)`
    `static void` | DefaultRequiredActions.`addDeleteAccountAction(RealmModel realm)`
    `static void` | DefaultAuthenticationFlows.`addFlows(RealmModel realm)`
    `static void` | DefaultAuthenticationFlows.`addIdentityProviderAuthenticator(RealmModel realm, String defaultProvider)`
    `static void` | DefaultRequiredActions.`addUpdateLocaleAction(RealmModel realm)`
    `static void` | DefaultAuthenticationFlows.`browserFlow(RealmModel realm)`
    `static void` | DefaultAuthenticationFlows.`browserFlow(RealmModel realm, boolean migrate)`
    `static void` | DefaultAuthenticationFlows.`clientAuthFlow(RealmModel realm)`
    `static ComponentModel` | RepresentationToModel.`convertFedMapperToComponent(RealmModel realm, ComponentModel parent, UserFederationMapperRepresentation rep, String newMapperType)`
    `static void` | DefaultKeyProviders.`createAesProvider(RealmModel realm)`
    `static ClientModel` | RepresentationToModel.`createClient(KeycloakSession session, RealmModel realm, ClientRepresentation resourceRep, boolean addDefaultRoles)` Does not create scope or role mappings!
    `static ClientModel` | KeycloakModelUtils.`createClient(RealmModel realm, String name)`
    `static ClientScopeModel` | RepresentationToModel.`createClientScope(KeycloakSession session, RealmModel realm, ClientScopeRepresentation resourceRep)`
    `static void` | RepresentationToModel.`createClientScopeMappings(RealmModel realm, ClientModel clientModel, List<ScopeMappingRepresentation> mappings)`
    `static void` | RepresentationToModel.`createCredentials(UserRepresentation userRep, KeycloakSession session, RealmModel realm, UserModel user, boolean adminRequest)`
    `static void` | DefaultClientScopes.`createDefaultClientScopes(KeycloakSession session, RealmModel realm, boolean addScopesToExistingClients)`
    `static void` | RepresentationToModel.`createFederatedClientRoleMappings(UserFederatedStorageProvider federatedStorage, RealmModel realm, ClientModel clientModel, UserRepresentation userRep, List<String> roleNames)`
    `static void` | RepresentationToModel.`createFederatedIdentities(UserRepresentation userRep, KeycloakSession session, RealmModel realm, UserModel user)`
    `static void` | RepresentationToModel.`createFederatedRoleMappings(UserFederatedStorageProvider federatedStorage, UserRepresentation userRep, RealmModel realm)`
    `static void` | RepresentationToModel.`createGroups(UserRepresentation userRep, RealmModel newRealm, UserModel user)`
    `static void` | DefaultClientScopes.`createOfflineAccessClientScope(RealmModel newRealm, RoleModel offlineRole)`
    `static void` | DefaultKeyProviders.`createProviders(RealmModel realm)`
    `static void` | DefaultKeyProviders.`createProviders(RealmModel realm, String privateKeyPem, String certificatePem)`
    `static void` | RepresentationToModel.`createRole(RealmModel newRealm, RoleRepresentation roleRep)`
    `static void` | RepresentationToModel.`createRoleMappings(UserRepresentation userRep, UserModel user, RealmModel realm)`
    `static void` | DefaultKeyProviders.`createSecretProvider(RealmModel realm)`
    `static UserModel` | RepresentationToModel.`createUser(KeycloakSession session, RealmModel newRealm, UserRepresentation userRep)`
    `static void` | KeycloakModelUtils.`deepFindAuthenticationExecutions(RealmModel realm, AuthenticationFlowModel flow, List<AuthenticationExecutionModel> result)` Recursively find all AuthenticationExecutionModel from specified flow or all it's subflows
    `static void` | DefaultAuthenticationFlows.`directGrantFlow(RealmModel realm, boolean migrate)`
    `static void` | DefaultAuthenticationFlows.`dockerAuthenticationFlow(RealmModel realm)`
    `static void` | ModelToRepresentation.`exportAuthenticationFlows(RealmModel realm, RealmRepresentation rep)`
    `static void` | ModelToRepresentation.`exportGroups(RealmModel realm, RealmRepresentation rep)`
    `static void` | ModelToRepresentation.`exportRequiredActions(RealmModel realm, RealmRepresentation rep)`
    `static ClientScopeModel` | KeycloakModelUtils.`findClientScopeById(RealmModel realm, ClientModel client, String clientScopeId)` Lookup clientScope OR client by id.
    `static GroupModel` | KeycloakModelUtils.`findGroupByPath(RealmModel realm, String path)`
    `static UserModel` | KeycloakModelUtils.`findUserByNameOrEmail(KeycloakSession session, RealmModel realm, String username)` Try to find user by username or email for authentication
    `static UserStorageProviderModel` | KeycloakModelUtils.`findUserStorageProviderById(String fedProviderId, RealmModel realm)`
    `static UserStorageProviderModel` | KeycloakModelUtils.`findUserStorageProviderByName(String displayName, RealmModel realm)`
    `static void` | DefaultAuthenticationFlows.`firstBrokerLoginFlow(RealmModel realm, boolean migrate)`
    `static ClientScopeModel` | KeycloakModelUtils.`getClientScopeByName(RealmModel realm, String clientScopeName)`
    `static Stream<RoleModel>` | DefaultRoles.`getDefaultRoles(RealmModel realm)`
    `static int` | RealmInfoUtil.`getDettachedClientSessionLifespan(RealmModel realm)`
    `static RoleModel` | KeycloakModelUtils.`getRoleFromString(RealmModel realm, String roleName)`
    `static ClientModel` | SystemClientUtil.`getSystemClient(RealmModel realm)`
    `protected static boolean` | DefaultKeyProviders.`hasProvider(RealmModel realm, String providerId)`
    `static void` | DefaultAuthenticationFlows.`httpChallengeFlow(RealmModel realm)`
    `static Map<String,String>` | RepresentationToModel.`importAuthenticationFlows(RealmModel newRealm, RealmRepresentation rep)`
    `protected static void` | RepresentationToModel.`importComponents(RealmModel newRealm, MultivaluedHashMap<String,ComponentExportRepresentation> components, String parentId)`
    `static void` | RepresentationToModel.`importFederatedUser(KeycloakSession session, RealmModel newRealm, UserRepresentation userRep)`
    `static void` | RepresentationToModel.`importGroup(RealmModel realm, GroupModel parent, GroupRepresentation group)`
    `static void` | RepresentationToModel.`importGroups(RealmModel realm, RealmRepresentation rep)`
    `static void` | RepresentationToModel.`importRealm(KeycloakSession session, RealmRepresentation rep, RealmModel newRealm, boolean skipUserDependent)`
    `static void` | RepresentationToModel.`importRealmAuthorizationSettings(RealmRepresentation rep, RealmModel newRealm, KeycloakSession session)`
    `static void` | RepresentationToModel.`importRoles(RolesRepresentation realmRoles, RealmModel realm)`
    `static void` | RepresentationToModel.`importUserFederationProvidersAndMappers(KeycloakSession session, RealmRepresentation rep, RealmModel newRealm)`
    `static boolean` | KeycloakModelUtils.`isClientScopeUsed(RealmModel realm, ClientScopeModel clientScope)`
    `static boolean` | KeycloakModelUtils.`isFlowUsed(RealmModel realm, AuthenticationFlowModel model)` Check to see if a flow is currently in use
    `static boolean` | RoleUtils.`isRealmRole(RoleModel r, RealmModel realm)`
    `static void` | DefaultAuthenticationFlows.`migrateFlows(RealmModel realm)`
    `static void` | ComponentUtil.`notifyCreated(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `static void` | ComponentUtil.`notifyPreRemove(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `static void` | ComponentUtil.`notifyUpdated(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel)`
    `static void` | DefaultAuthenticationFlows.`registrationFlow(RealmModel realm)`
    `static void` | RepresentationToModel.`renameRealm(RealmModel realm, String name)`
    `static void` | DefaultAuthenticationFlows.`resetCredentialsFlow(RealmModel realm)`
    `static void` | DefaultAuthenticationFlows.`samlEcpProfile(RealmModel realm)`
    `static Stream<GroupRepresentation>` | ModelToRepresentation.`searchForGroupByName(RealmModel realm, boolean full, String search, Integer first, Integer max)`
    `static void` | KeycloakModelUtils.`setupAuthorizationServices(RealmModel realm)`
    `static RoleModel` | KeycloakModelUtils.`setupOfflineRole(RealmModel realm)`
    `static RealmEventsConfigRepresentation` | ModelToRepresentation.`toEventsConfigReprensetation(RealmModel realm)`
    `static Stream<GroupRepresentation>` | ModelToRepresentation.`toGroupHierarchy(RealmModel realm, boolean full)`
    `static Stream<GroupRepresentation>` | ModelToRepresentation.`toGroupHierarchy(RealmModel realm, boolean full, Integer first, Integer max)`
    `static AuthenticationExecutionModel` | RepresentationToModel.`toModel(RealmModel realm, AuthenticationExecutionRepresentation rep)`
    `static IdentityProviderModel` | RepresentationToModel.`toModel(RealmModel realm, IdentityProviderRepresentation representation, KeycloakSession session)`
    `static UserConsentModel` | RepresentationToModel.`toModel(RealmModel newRealm, UserConsentRepresentation consentRep)`
    `static UserRepresentation` | ModelToRepresentation.`toRepresentation(KeycloakSession session, RealmModel realm, UserModel user)`
    `static AuthenticationExecutionExportRepresentation` | ModelToRepresentation.`toRepresentation(RealmModel realm, AuthenticationExecutionModel model)`
    `static AuthenticationFlowRepresentation` | ModelToRepresentation.`toRepresentation(RealmModel realm, AuthenticationFlowModel model)`
    `static RealmRepresentation` | ModelToRepresentation.`toRepresentation(RealmModel realm, boolean internal)`
    `static IdentityProviderRepresentation` | ModelToRepresentation.`toRepresentation(RealmModel realm, IdentityProviderModel identityProviderModel)`
    `static void` | RepresentationToModel.`updateRealm(RealmRepresentation rep, RealmModel realm, KeycloakSession session)`

  - ### Uses of RealmModel in org.keycloak.partialimport

    Methods in org.keycloak.partialimport with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientsPartialImport.`create(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)`
    `void` | GroupsPartialImport.`create(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep)`
    `void` | IdentityProvidersPartialImport.`create(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)`
    `void` | RealmRolesPartialImport.`create(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep)`
    `abstract void` | AbstractPartialImport.`create(RealmModel realm, KeycloakSession session, T resourceRep)`
    `void` | UsersPartialImport.`create(RealmModel realm, KeycloakSession session, UserRepresentation user)`
    `void` | ClientRolesPartialImport.`deleteRole(RealmModel realm, String clientId, RoleRepresentation roleRep)`
    `PartialImportResults` | RolesPartialImport.`doImport(PartialImportRepresentation rep, RealmModel realm, KeycloakSession session)`
    `PartialImportResults` | PartialImport.`doImport(PartialImportRepresentation rep, RealmModel realm, KeycloakSession session)` Create (or re-create) all the imported resources.
    `PartialImportResults` | AbstractPartialImport.`doImport(PartialImportRepresentation partialImportRep, RealmModel realm, KeycloakSession session)`
    `boolean` | ClientsPartialImport.`exists(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)`
    `boolean` | GroupsPartialImport.`exists(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep)`
    `boolean` | IdentityProvidersPartialImport.`exists(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)`
    `boolean` | RealmRolesPartialImport.`exists(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep)`
    `boolean` | ClientRolesPartialImport.`exists(RealmModel realm, KeycloakSession session, String clientId, RoleRepresentation roleRep)`
    `abstract boolean` | AbstractPartialImport.`exists(RealmModel realm, KeycloakSession session, T resourceRep)`
    `boolean` | UsersPartialImport.`exists(RealmModel realm, KeycloakSession session, UserRepresentation user)`
    `String` | ClientsPartialImport.`existsMessage(RealmModel realm, ClientRepresentation clientRep)`
    `String` | GroupsPartialImport.`existsMessage(RealmModel realm, GroupRepresentation groupRep)`
    `String` | IdentityProvidersPartialImport.`existsMessage(RealmModel realm, IdentityProviderRepresentation idpRep)`
    `String` | RealmRolesPartialImport.`existsMessage(RealmModel realm, RoleRepresentation roleRep)`
    `abstract String` | AbstractPartialImport.`existsMessage(RealmModel realm, T resourceRep)`
    `String` | UsersPartialImport.`existsMessage(RealmModel realm, UserRepresentation user)`
    `String` | ClientsPartialImport.`getModelId(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)`
    `String` | GroupsPartialImport.`getModelId(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep)`
    `String` | IdentityProvidersPartialImport.`getModelId(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)`
    `String` | RealmRolesPartialImport.`getModelId(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep)`
    `abstract String` | AbstractPartialImport.`getModelId(RealmModel realm, KeycloakSession session, T resourceRep)`
    `String` | UsersPartialImport.`getModelId(RealmModel realm, KeycloakSession session, UserRepresentation user)`
    `String` | ClientRolesPartialImport.`getModelId(RealmModel realm, String clientId)`
    `void` | RolesPartialImport.`prepare(PartialImportRepresentation rep, RealmModel realm, KeycloakSession session)`
    `void` | PartialImport.`prepare(PartialImportRepresentation rep, RealmModel realm, KeycloakSession session)` Find which resources will need to be skipped or overwritten.
    `void` | ClientRolesPartialImport.`prepare(PartialImportRepresentation partialImportRep, RealmModel realm, KeycloakSession session)`
    `void` | AbstractPartialImport.`prepare(PartialImportRepresentation partialImportRep, RealmModel realm, KeycloakSession session)`
    `void` | ClientsPartialImport.`remove(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)`
    `void` | GroupsPartialImport.`remove(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep)`
    `void` | IdentityProvidersPartialImport.`remove(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)`
    `void` | RealmRolesPartialImport.`remove(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep)`
    `abstract void` | AbstractPartialImport.`remove(RealmModel realm, KeycloakSession session, T resourceRep)`
    `void` | UsersPartialImport.`remove(RealmModel realm, KeycloakSession session, UserRepresentation user)`
    `void` | RolesPartialImport.`removeOverwrites(RealmModel realm, KeycloakSession session)`
    `void` | PartialImport.`removeOverwrites(RealmModel realm, KeycloakSession session)` Delete resources that will be overwritten.
    `void` | AbstractPartialImport.`removeOverwrites(RealmModel realm, KeycloakSession session)`

    Constructors in org.keycloak.partialimport with parameters of type RealmModel
    Constructor and Description
    `PartialImportManager(PartialImportRepresentation rep, KeycloakSession session, RealmModel realm, AdminEventBuilder adminEvent)`
    `RoleHelper(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.policy

    Methods in org.keycloak.policy with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `PolicyError` | UpperCasePasswordPolicyProvider.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | SpecialCharsPasswordPolicyProvider.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | RegexPatternsPasswordPolicyProvider.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | PasswordPolicyManagerProvider.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | NotUsernamePasswordPolicyProvider.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | NotEmailPasswordPolicyProvider.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | LowerCasePasswordPolicyProvider.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | LengthPasswordPolicyProvider.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | HistoryPasswordPolicyProvider.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | HashIterationsPasswordPolicyProviderFactory.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | HashAlgorithmPasswordPolicyProviderFactory.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | ForceExpiredPasswordPolicyProviderFactory.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | DigitsPasswordPolicyProvider.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | DefaultPasswordPolicyManagerProvider.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | BlacklistPasswordPolicyProvider.`validate(RealmModel realm, UserModel user, String password)`
    `PolicyError` | PasswordPolicyProvider.`validate(RealmModel realm, UserModel user, String password)`

  - ### Uses of RealmModel in org.keycloak.protocol

    Fields in org.keycloak.protocol declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | AuthorizationEndpointBase.`realm`

    Methods in org.keycloak.protocol with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractLoginProtocolFactory.`addDefaultClientScopes(RealmModel realm, ClientModel newClient)`
    `protected void` | AbstractLoginProtocolFactory.`addDefaultClientScopes(RealmModel realm, Stream<ClientModel> newClients)`
    `void` | LoginProtocolFactory.`createDefaultClientScopes(RealmModel newRealm, boolean addScopesToExistingClients)` Called when new realm is created
    `void` | AbstractLoginProtocolFactory.`createDefaultClientScopes(RealmModel newRealm, boolean addScopesToExistingClients)`
    `protected abstract void` | AbstractLoginProtocolFactory.`createDefaultClientScopesImpl(RealmModel newRealm)` Impl should create default client scopes.
    `Object` | LoginProtocolFactory.`createProtocolEndpoint(RealmModel realm, EventBuilder event)`
    `static void` | RestartLoginCookie.`expireRestartCookie(RealmModel realm, ClientConnection connection, javax.ws.rs.core.UriInfo uriInfo)`
    `javax.ws.rs.core.Response` | ClientInstallationProvider.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)`
    `static AuthenticationSessionModel` | RestartLoginCookie.`restartSession(KeycloakSession session, RealmModel realm, RootAuthenticationSessionModel rootSession, String expectedClientId)`
    `default boolean` | LoginProtocol.`sendPushRevocationPolicyRequest(RealmModel realm, ClientModel resource, int notBefore, String managementUrl)` Send not-before revocation policy to the given client.
    `LoginProtocol` | LoginProtocol.`setRealm(RealmModel realm)`
    `static void` | RestartLoginCookie.`setRestartCookie(KeycloakSession session, RealmModel realm, ClientConnection connection, javax.ws.rs.core.UriInfo uriInfo, AuthenticationSessionModel authSession)`
    `default void` | ProtocolMapper.`validateConfig(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel client, ProtocolMapperModel mapperModel)` Called when instance of mapperModel is created/updated for this protocolMapper through admin endpoint

    Constructors in org.keycloak.protocol with parameters of type RealmModel
    Constructor and Description
    `AuthorizationEndpointBase(RealmModel realm, EventBuilder event)`

  - ### Uses of RealmModel in org.keycloak.protocol.docker

    Methods in org.keycloak.protocol.docker with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | DockerAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `protected void` | DockerAuthV2ProtocolFactory.`createDefaultClientScopesImpl(RealmModel newRealm)`
    `Object` | DockerAuthV2ProtocolFactory.`createProtocolEndpoint(RealmModel realm, EventBuilder event)`
    `protected void` | DockerAuthenticator.`notValidCredentialsAction(AuthenticationFlowContext context, RealmModel realm, UserModel user)`
    `protected void` | DockerAuthenticator.`nullUserAction(AuthenticationFlowContext context, RealmModel realm, String userId)`
    `LoginProtocol` | DockerAuthV2Protocol.`setRealm(RealmModel realm)`
    `protected void` | DockerAuthenticator.`userDisabledAction(AuthenticationFlowContext context, RealmModel realm, UserModel user, String eventError)`

    Constructors in org.keycloak.protocol.docker with parameters of type RealmModel
    Constructor and Description
    `DockerAuthV2Protocol(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers, EventBuilder event)`
    `DockerEndpoint(RealmModel realm, EventBuilder event, EventType login)`
    `DockerV2LoginProtocolService(RealmModel realm, EventBuilder event)`

  - ### Uses of RealmModel in org.keycloak.protocol.docker.installation

    Methods in org.keycloak.protocol.docker.installation with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | DockerVariableOverrideInstallationProvider.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)`
    `javax.ws.rs.core.Response` | DockerRegistryConfigFileInstallationProvider.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)`
    `javax.ws.rs.core.Response` | DockerComposeYamlInstallationProvider.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)`

  - ### Uses of RealmModel in org.keycloak.protocol.oidc

    Fields in org.keycloak.protocol.oidc declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | OIDCLoginProtocol.`realm`

    Methods in org.keycloak.protocol.oidc with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static ClientScopeModel` | OIDCLoginProtocolFactory.`addMicroprofileJWTClientScope(RealmModel newRealm)` Adds the `microprofile-jwt` optional client scope to the specified realm.
    `static ClientScopeModel` | OIDCLoginProtocolFactory.`addRolesClientScope(RealmModel newRealm)`
    `static ClientScopeModel` | OIDCLoginProtocolFactory.`addWebOriginsClientScope(RealmModel newRealm)`
    `boolean` | TokenManager.`checkTokenValidForIntrospection(KeycloakSession session, RealmModel realm, AccessToken token)` Checks if the token is valid.
    `AccessToken` | TokenManager.`createClientAccessToken(KeycloakSession session, RealmModel realm, ClientModel client, UserModel user, UserSessionModel userSession, ClientSessionContext clientSessionCtx)`
    `protected void` | OIDCLoginProtocolFactory.`createDefaultClientScopesImpl(RealmModel newRealm)`
    `Object` | OIDCLoginProtocolFactory.`createProtocolEndpoint(RealmModel realm, EventBuilder event)`
    `static void` | TokenManager.`dettachClientSession(UserSessionProvider sessions, RealmModel realm, AuthenticatedClientSessionModel clientSession)`
    `static TokenManager.NotBeforeCheck` | TokenManager.NotBeforeCheck.`forModel(KeycloakSession session, RealmModel realmModel, UserModel userModel)`
    `static TokenManager.NotBeforeCheck` | TokenManager.NotBeforeCheck.`forModel(RealmModel realmModel)`
    `Stream<OIDCIdentityProvider>` | TokenManager.`getValidOIDCIdentityProvidersForBackchannelLogout(RealmModel realm, KeycloakSession session, String encodedLogoutToken, LogoutToken logoutToken)`
    `protected AccessToken` | TokenManager.`initToken(RealmModel realm, ClientModel client, UserModel user, UserSessionModel session, ClientSessionContext clientSessionCtx, javax.ws.rs.core.UriInfo uriInfo)`
    `static UserModel` | TokenManager.`lookupUserFromStatelessToken(KeycloakSession session, RealmModel realm, AccessToken token)` Lookup user from the "stateless" token.
    `TokenManager.RefreshResult` | TokenManager.`refreshAccessToken(KeycloakSession session, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, RealmModel realm, ClientModel authorizedClient, String encodedRefreshToken, EventBuilder event, javax.ws.rs.core.HttpHeaders headers, org.jboss.resteasy.spi.HttpRequest request)`
    `TokenManager.AccessTokenResponseBuilder` | TokenManager.`responseBuilder(RealmModel realm, ClientModel client, EventBuilder event, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)`
    `boolean` | OIDCLoginProtocol.`sendPushRevocationPolicyRequest(RealmModel realm, ClientModel resource, int notBefore, String managementUrl)`
    `OIDCLoginProtocol` | OIDCLoginProtocol.`setRealm(RealmModel realm)`
    `TokenManager.TokenValidation` | TokenManager.`validateToken(KeycloakSession session, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, RealmModel realm, RefreshToken oldToken, javax.ws.rs.core.HttpHeaders headers)`
    `IDToken` | TokenManager.`verifyIDToken(KeycloakSession session, RealmModel realm, String encodedIDToken)`
    `LogoutTokenValidationCode` | TokenManager.`verifyLogoutToken(KeycloakSession session, RealmModel realm, String encodedLogoutToken)`
    `RefreshToken` | TokenManager.`verifyRefreshToken(KeycloakSession session, RealmModel realm, ClientModel client, org.jboss.resteasy.spi.HttpRequest request, String encodedRefreshToken, boolean checkExpiration)`

    Constructors in org.keycloak.protocol.oidc with parameters of type RealmModel
    Constructor and Description
    `AccessTokenResponseBuilder(RealmModel realm, ClientModel client, EventBuilder event, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)`
    `OIDCLoginProtocol(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers, EventBuilder event)`
    `OIDCLoginProtocolService(RealmModel realm, EventBuilder event)`

  - ### Uses of RealmModel in org.keycloak.protocol.oidc.endpoints

    Constructors in org.keycloak.protocol.oidc.endpoints with parameters of type RealmModel
    Constructor and Description
    `AuthorizationEndpoint(RealmModel realm, EventBuilder event)`
    `LogoutEndpoint(TokenManager tokenManager, RealmModel realm, EventBuilder event)`
    `TokenEndpoint(TokenManager tokenManager, RealmModel realm, EventBuilder event)`
    `TokenIntrospectionEndpoint(RealmModel realm, EventBuilder event)`
    `TokenRevocationEndpoint(RealmModel realm, EventBuilder event)`
    `UserInfoEndpoint(TokenManager tokenManager, RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.protocol.oidc.installation

    Methods in org.keycloak.protocol.oidc.installation with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | KeycloakOIDCJbossSubsystemClientInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)`
    `javax.ws.rs.core.Response` | KeycloakOIDCJbossSubsystemClientCliInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)`
    `javax.ws.rs.core.Response` | KeycloakOIDCClientInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)`

  - ### Uses of RealmModel in org.keycloak.protocol.oidc.mappers

    Methods in org.keycloak.protocol.oidc.mappers with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | SHA256PairwiseSubMapper.`validateAdditionalConfig(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel mapperContainer, ProtocolMapperModel mapperModel)`
    `void` | AbstractPairwiseSubMapper.`validateAdditionalConfig(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel mapperContainer, ProtocolMapperModel mapperModel)` Override to add additional configuration validation.
    `void` | ScriptBasedOIDCProtocolMapper.`validateConfig(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel client, ProtocolMapperModel mapperModel)`
    `void` | AbstractPairwiseSubMapper.`validateConfig(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel mapperContainer, ProtocolMapperModel mapperModel)`

  - ### Uses of RealmModel in org.keycloak.protocol.oidc.utils

    Methods in org.keycloak.protocol.oidc.utils with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static OAuth2CodeParser.ParseResult` | OAuth2CodeParser.`parseCode(KeycloakSession session, String code, RealmModel realm, EventBuilder event)` Will parse the code and retrieve the corresponding OAuth2Code and AuthenticatedClientSessionModel.

  - ### Uses of RealmModel in org.keycloak.protocol.saml

    Fields in org.keycloak.protocol.saml declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | SamlProtocol.`realm`

    Methods in org.keycloak.protocol.saml with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | SamlProtocolFactory.`createDefaultClientScopesImpl(RealmModel newRealm)`
    `Object` | SamlProtocolFactory.`createProtocolEndpoint(RealmModel realm, EventBuilder event)`
    `static AuthenticatedClientSessionModel` | SamlSessionUtils.`getClientSession(KeycloakSession session, RealmModel realm, String sessionIndex)`
    `static String` | SamlService.`getIDPMetadataDescriptor(javax.ws.rs.core.UriInfo uriInfo, KeycloakSession session, RealmModel realm)`
    `AuthenticationSessionModel` | SamlService.`getOrCreateLoginSessionForIdpInitiatedSso(KeycloakSession session, RealmModel realm, ClientModel client, String relayState)` Creates a client session object for SAML IdP-initiated SSO session.
    `protected String` | SamlProtocol.`getResponseIssuer(RealmModel realm)`
    `SamlProtocol` | SamlProtocol.`setRealm(RealmModel realm)`

    Constructors in org.keycloak.protocol.saml with parameters of type RealmModel
    Constructor and Description
    `SamlService(RealmModel realm, EventBuilder event, DestinationValidator destinationValidator)`

  - ### Uses of RealmModel in org.keycloak.protocol.saml.installation

    Methods in org.keycloak.protocol.saml.installation with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static void` | KeycloakSamlClientInstallation.`baseXml(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri, SamlClient samlClient, StringBuilder buffer)`
    `javax.ws.rs.core.Response` | SamlSPDescriptorClientInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)`
    `javax.ws.rs.core.Response` | ModAuthMellonClientInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)`
    `javax.ws.rs.core.Response` | KeycloakSamlSubsystemInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)`
    `javax.ws.rs.core.Response` | KeycloakSamlSubsystemCliInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)`
    `javax.ws.rs.core.Response` | KeycloakSamlClientInstallation.`generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)`

  - ### Uses of RealmModel in org.keycloak.protocol.saml.mappers

    Methods in org.keycloak.protocol.saml.mappers with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | ScriptBasedMapper.`validateConfig(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel client, ProtocolMapperModel mapperModel)`

  - ### Uses of RealmModel in org.keycloak.protocol.saml.profile.ecp

    Constructors in org.keycloak.protocol.saml.profile.ecp with parameters of type RealmModel
    Constructor and Description
    `SamlEcpProfileService(RealmModel realm, EventBuilder event, DestinationValidator destinationValidator)`

  - ### Uses of RealmModel in org.keycloak.protocol.saml.profile.ecp.authenticator

    Methods in org.keycloak.protocol.saml.profile.ecp.authenticator with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | HttpBasicAuthenticator.`configuredFor(KeycloakSession session, RealmModel realm, UserModel user)`
    `protected void` | HttpBasicAuthenticator.`notValidCredentialsAction(AuthenticationFlowContext context, RealmModel realm, UserModel user)`
    `protected void` | HttpBasicAuthenticator.`nullUserAction(AuthenticationFlowContext context, RealmModel realm, String user)`
    `void` | HttpBasicAuthenticator.`setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)`
    `protected void` | HttpBasicAuthenticator.`userDisabledAction(AuthenticationFlowContext context, RealmModel realm, UserModel user, String eventError)`

  - ### Uses of RealmModel in org.keycloak.services

    Methods in org.keycloak.services that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | DefaultKeycloakContext.`getRealm()`

    Methods in org.keycloak.services with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultKeycloakContext.`setRealm(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.services.clientpolicy

    Constructors in org.keycloak.services.clientpolicy with parameters of type RealmModel
    Constructor and Description
    `DynamicClientRegisterContext(ClientRegistrationContext context, JsonWebToken token, RealmModel realm)`
    `DynamicClientUpdateContext(ClientRegistrationContext context, ClientModel client, JsonWebToken token, RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.services.clientpolicy.condition

    Methods in org.keycloak.services.clientpolicy.condition with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientUpdateSourceHostsConditionFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`

  - ### Uses of RealmModel in org.keycloak.services.clientregistration

    Methods in org.keycloak.services.clientregistration with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static String` | ClientRegistrationTokenUtils.`createInitialAccessToken(KeycloakSession session, RealmModel realm, ClientInitialAccessModel model)`
    `static String` | ClientRegistrationTokenUtils.`updateRegistrationAccessToken(KeycloakSession session, RealmModel realm, ClientModel client, RegistrationAuth registrationAuth)`
    `static ClientRegistrationTokenUtils.TokenVerification` | ClientRegistrationTokenUtils.`verifyToken(KeycloakSession session, RealmModel realm, String token)`

  - ### Uses of RealmModel in org.keycloak.services.clientregistration.policy

    Methods in org.keycloak.services.clientregistration.policy with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static void` | DefaultClientRegistrationPolicies.`addDefaultPolicies(RealmModel realm)`
    `void` | AbstractClientRegistrationPolicyFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`

  - ### Uses of RealmModel in org.keycloak.services.clientregistration.policy.impl

    Methods in org.keycloak.services.clientregistration.policy.impl with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | TrustedHostClientRegistrationPolicyFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`
    `void` | MaxClientsClientRegistrationPolicyFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`

  - ### Uses of RealmModel in org.keycloak.services.managers

    Methods in org.keycloak.services.managers that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | RealmManager.`createRealm(String name)`
    `RealmModel` | RealmManager.`createRealm(String id, String name)`
    `RealmModel` | RealmManager.`getKeycloakAdminstrationRealm()`
    `RealmModel` | Auth.`getRealm()`
    `RealmModel` | RealmManager.`getRealm(String id)`
    `RealmModel` | RealmManager.`getRealmByName(String name)`
    `protected RealmModel` | DefaultBruteForceProtector.`getRealmModel(KeycloakSession session, DefaultBruteForceProtector.LoginEvent event)`
    `RealmModel` | RealmManager.`importRealm(RealmRepresentation rep)`
    `RealmModel` | RealmManager.`importRealm(RealmRepresentation rep, boolean skipUserDependent)` if "skipUserDependent" is true, then import of any models, which needs users already imported in DB, will be skipped.

    Methods in org.keycloak.services.managers with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `AuthenticationManager.AuthResult` | AuthenticationManager.`authenticateIdentityCookie(KeycloakSession session, RealmModel realm)`
    `AuthenticationManager.AuthResult` | AppAuthManager.`authenticateIdentityCookie(KeycloakSession session, RealmModel realm)`
    `static AuthenticationManager.AuthResult` | AuthenticationManager.`authenticateIdentityCookie(KeycloakSession session, RealmModel realm, boolean checkActive)`
    `static BackchannelLogoutResponse` | AuthenticationManager.`backchannelLogout(KeycloakSession session, RealmModel realm, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers, boolean logoutBroker)`
    `static BackchannelLogoutResponse` | AuthenticationManager.`backchannelLogout(KeycloakSession session, RealmModel realm, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers, boolean logoutBroker, boolean offlineSession)`
    `static void` | AuthenticationManager.`backchannelLogoutUserFromClient(KeycloakSession session, RealmModel realm, UserModel user, ClientModel client, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers)` Logout all clientSessions of this user and client
    `static javax.ws.rs.core.Response` | AuthenticationManager.`browserLogout(KeycloakSession session, RealmModel realm, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers, String initiatingIdp)`
    `static LDAPConfig` | LDAPServerCapabilitiesManager.`buildLDAPConfig(TestLdapConnectionRepresentation config, RealmModel realm)`
    `RootAuthenticationSessionModel` | AuthenticationSessionManager.`createAuthenticationSession(RealmModel realm, boolean browserCookie)` Creates a fresh authentication session for the given realm .
    `static ClientModel` | ClientManager.`createClient(KeycloakSession session, RealmModel realm, ClientRepresentation rep, boolean addDefaultRoles)` Should not be called from an import.
    `protected void` | RealmManager.`createDefaultClientScopes(RealmModel realm)`
    `static IdentityCookieToken` | AuthenticationManager.`createIdentityToken(KeycloakSession keycloakSession, RealmModel realm, UserModel user, UserSessionModel session, String issuer)`
    `static void` | AuthenticationManager.`createLoginCookie(KeycloakSession keycloakSession, RealmModel realm, UserModel user, UserSessionModel session, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection)`
    `static void` | AuthenticationManager.`createRememberMeCookie(RealmModel realm, String username, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection)`
    `static void` | AuthenticationManager.`evaluateRequiredActionTriggers(KeycloakSession session, AuthenticationSessionModel authSession, org.jboss.resteasy.spi.HttpRequest request, EventBuilder event, RealmModel realm, UserModel user)`
    `protected static javax.ws.rs.core.Response` | AuthenticationManager.`executionActions(KeycloakSession session, AuthenticationSessionModel authSession, org.jboss.resteasy.spi.HttpRequest request, EventBuilder event, RealmModel realm, UserModel user, Stream<String> requiredActions)`
    `static void` | AuthenticationManager.`expireCookie(RealmModel realm, String cookieName, String path, boolean httpOnly, ClientConnection connection, ServerCookie.SameSiteAttributeValue sameSite)`
    `static void` | AuthenticationManager.`expireIdentityCookie(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection)`
    `static void` | AuthenticationManager.`expireOldAuthSessionCookie(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection)`
    `static void` | AuthenticationManager.`expireOldIdentityCookie(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection)`
    `static void` | AuthenticationManager.`expireRememberMeCookie(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection)`
    `static boolean` | AuthenticationManager.`expireUserSessionCookie(KeycloakSession session, UserSessionModel userSession, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers, ClientConnection connection)`
    `void` | BruteForceProtector.`failedLogin(RealmModel realm, UserModel user, ClientConnection clientConnection)`
    `void` | DefaultBruteForceProtector.`failedLogin(RealmModel realm, UserModel user, ClientConnection clientConnection)`
    `Set<ClientModel>` | UserSessionManager.`findClientsWithOfflineToken(RealmModel realm, UserModel user)`
    `List<UserSessionModel>` | UserSessionManager.`findOfflineSessions(RealmModel realm, UserModel user)` Deprecated.
    `Stream<UserSessionModel>` | UserSessionManager.`findOfflineSessionsStream(RealmModel realm, UserModel user)`
    `UserSessionModel` | UserSessionManager.`findOfflineUserSession(RealmModel realm, String userSessionId)`
    `static javax.ws.rs.core.Response` | AuthenticationManager.`finishBrowserLogout(KeycloakSession session, RealmModel realm, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers)`
    `static String` | AuthenticationManager.`getAccountCookiePath(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)`
    `AuthenticationSessionModel` | AuthenticationSessionManager.`getAuthenticationSessionByIdAndClient(RealmModel realm, String authSessionId, ClientModel client, String tabId)`
    `static <CLIENT_SESSION extends CommonClientSessionModel> CLIENT_SESSION` | ClientSessionCode.`getClientSession(String code, String tabId, KeycloakSession session, RealmModel realm, ClientModel client, EventBuilder event, Class<CLIENT_SESSION> sessionClass)`
    `AuthenticationSessionModel` | AuthenticationSessionManager.`getCurrentAuthenticationSession(RealmModel realm, ClientModel client, String tabId)` Returns current authentication session if it exists, otherwise returns `null`.
    `RootAuthenticationSessionModel` | AuthenticationSessionManager.`getCurrentRootAuthenticationSession(RealmModel realm)`
    `protected static String` | AuthenticationManager.`getIdentityCookiePath(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)`
    `static String` | AuthenticationManager.`getOldCookiePath(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)`
    `String` | RealmManager.`getRealmAdminClientId(RealmModel realm)`
    `static String` | AuthenticationManager.`getRealmCookiePath(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)`
    `static String` | AuthenticationManager.`getRememberMeUsername(RealmModel realm, javax.ws.rs.core.HttpHeaders headers)`
    `UserSessionModel` | AuthenticationSessionManager.`getUserSessionFromAuthCookie(RealmModel realm)`
    `UserSessionModel` | UserSessionCrossDCManager.`getUserSessionIfExistsRemotely(AuthenticationSessionManager asm, RealmModel realm)`
    `UserSessionModel` | UserSessionCrossDCManager.`getUserSessionWithClient(RealmModel realm, String id, boolean offline, String clientUUID)`
    `UserSessionModel` | UserSessionCrossDCManager.`getUserSessionWithClient(RealmModel realm, String id, String clientUUID)`
    `static boolean` | AuthenticationManager.`isOfflineSessionValid(RealmModel realm, UserSessionModel userSession)`
    `static boolean` | AuthenticationManager.`isSessionValid(RealmModel realm, UserSessionModel userSession)`
    `boolean` | BruteForceProtector.`isTemporarilyDisabled(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | DefaultBruteForceProtector.`isTemporarilyDisabled(KeycloakSession session, RealmModel realm, UserModel user)`
    `GlobalRequestResult` | ResourceAdminManager.`logoutAll(RealmModel realm)`
    `GlobalRequestResult` | ResourceAdminManager.`logoutClient(RealmModel realm, ClientModel resource)`
    `protected GlobalRequestResult` | ResourceAdminManager.`logoutClient(RealmModel realm, ClientModel resource, int notBefore)`
    `javax.ws.rs.core.Response` | ResourceAdminManager.`logoutClientSession(RealmModel realm, ClientModel resource, AuthenticatedClientSessionModel clientSession)`
    `protected javax.ws.rs.core.Response` | ResourceAdminManager.`logoutClientSessions(RealmModel realm, ClientModel resource, List<AuthenticatedClientSessionModel> clientSessions)`
    `static UserModel` | AuthenticationManager.`lookupUserForBruteForceLog(KeycloakSession session, RealmModel realm, AuthenticationSessionModel authenticationSession)`
    `void` | UserStorageSyncManager.`notifyToRefreshPeriodicSync(KeycloakSession session, RealmModel realm, UserStorageProviderModel provider, boolean removed)`
    `static <CLIENT_SESSION extends CommonClientSessionModel> ClientSessionCode.ParseResult<CLIENT_SESSION>` | ClientSessionCode.`parseResult(String code, String tabId, KeycloakSession session, RealmModel realm, ClientModel client, EventBuilder event, Class<CLIENT_SESSION> sessionClass)`
    `static <CLIENT_SESSION extends CommonClientSessionModel> ClientSessionCode.ParseResult<CLIENT_SESSION>` | ClientSessionCode.`parseResult(String code, String tabId, KeycloakSession session, RealmModel realm, ClientModel client, EventBuilder event, CLIENT_SESSION clientSession)`
    `GlobalRequestResult` | ResourceAdminManager.`pushClientRevocationPolicy(RealmModel realm, ClientModel client)`
    `GlobalRequestResult` | ResourceAdminManager.`pushRealmRevocationPolicy(RealmModel realm)`
    `protected GlobalRequestResult` | ResourceAdminManager.`pushRevocationPolicy(RealmModel realm, ClientModel resource, int notBefore)`
    `static Set<LDAPCapabilityRepresentation>` | LDAPServerCapabilitiesManager.`queryServerCapabilities(TestLdapConnectionRepresentation config, KeycloakSession session, RealmModel realm)`
    `static javax.ws.rs.core.Response` | AuthenticationManager.`redirectAfterSuccessfulFlow(KeycloakSession session, RealmModel realm, UserSessionModel userSession, ClientSessionContext clientSessionCtx, org.jboss.resteasy.spi.HttpRequest request, javax.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection, EventBuilder event, AuthenticationSessionModel authSession)`
    `static javax.ws.rs.core.Response` | AuthenticationManager.`redirectAfterSuccessfulFlow(KeycloakSession session, RealmModel realm, UserSessionModel userSession, ClientSessionContext clientSessionCtx, org.jboss.resteasy.spi.HttpRequest request, javax.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection, EventBuilder event, AuthenticationSessionModel authSession, LoginProtocol protocol)`
    `static javax.ws.rs.core.Response` | AuthenticationManager.`redirectToRequiredActions(KeycloakSession session, RealmModel realm, AuthenticationSessionModel authSession, javax.ws.rs.core.UriInfo uriInfo, String requiredAction)`
    `void` | AuthenticationSessionManager.`removeAuthenticationSession(RealmModel realm, AuthenticationSessionModel authSession, boolean expireRestartCookie)`
    `boolean` | ClientManager.`removeClient(RealmModel realm, ClientModel client)`
    `boolean` | RealmManager.`removeRealm(RealmModel realm)`
    `protected javax.ws.rs.core.Response` | ResourceAdminManager.`sendLogoutRequest(RealmModel realm, ClientModel resource, List<String> adapterSessionIds, List<String> userSessions, int notBefore, String managementUrl)`
    `protected boolean` | ResourceAdminManager.`sendPushRevocationPolicyRequest(RealmModel realm, ClientModel resource, int notBefore, String managementUrl)`
    `protected boolean` | ResourceAdminManager.`sendTestNodeAvailabilityRequest(RealmModel realm, ClientModel client, String managementUrl)`
    `void` | AuthenticationSessionManager.`setAuthSessionCookie(String authSessionId, RealmModel realm)`
    `AppAuthManager.BearerTokenAuthenticator` | AppAuthManager.BearerTokenAuthenticator.`setRealm(RealmModel realm)`
    `void` | RealmManager.`setupAdminCli(RealmModel realm)`
    `protected void` | RealmManager.`setupAdminConsole(RealmModel realm)`
    `protected void` | RealmManager.`setupAdminConsoleLocaleMapper(RealmModel realm)`
    `protected void` | RealmManager.`setupAuthenticationFlows(RealmModel realm)`
    `void` | RealmManager.`setupBrokerService(RealmModel realm)`
    `void` | RealmManager.`setupImpersonationService(RealmModel realm)`
    `void` | RealmManager.`setupMasterAdminManagement(RealmModel realm)`
    `protected void` | RealmManager.`setupRealmDefaults(RealmModel realm)`
    `protected void` | RealmManager.`setupRequiredActions(RealmModel realm)`
    `void` | BruteForceProtector.`successfulLogin(RealmModel realm, UserModel user, ClientConnection clientConnection)`
    `void` | DefaultBruteForceProtector.`successfulLogin(RealmModel realm, UserModel user, ClientConnection clientConnection)`
    `static boolean` | LDAPServerCapabilitiesManager.`testLDAP(TestLdapConnectionRepresentation config, KeycloakSession session, RealmModel realm)`
    `GlobalRequestResult` | ResourceAdminManager.`testNodesAvailability(RealmModel realm, ClientModel client)`
    `ClientManager.InstallationAdapterConfig` | ClientManager.`toInstallationRepresentation(RealmModel realmModel, ClientModel clientModel, URI baseUri)`
    `String` | ClientManager.`toJBossSubsystemConfig(RealmModel realmModel, ClientModel clientModel, URI baseUri)`
    `void` | RealmManager.`updateRealmEventsConfig(RealmEventsConfigRepresentation rep, RealmModel realm)`
    `static AuthenticationManager.AuthResult` | AuthenticationManager.`verifyIdentityToken(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, boolean checkActive, boolean checkTokenType, String checkAudience, boolean isCookie, String tokenString, javax.ws.rs.core.HttpHeaders headers, TokenVerifier.Predicate<? super AccessToken>... additionalChecks)`

    Constructors in org.keycloak.services.managers with parameters of type RealmModel
    Constructor and Description
    `Auth(RealmModel realm, AccessToken token, UserModel user, ClientModel client, UserSessionModel session, boolean cookie)`
    `ClientSessionCode(KeycloakSession session, RealmModel realm, CLIENT_SESSION commonLoginSession)`

  - ### Uses of RealmModel in org.keycloak.services.migration

    Methods in org.keycloak.services.migration with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientScopeModel` | DefaultMigrationProvider.`addOIDCMicroprofileJWTClientScope(RealmModel realm)`
    `ClientScopeModel` | DefaultMigrationProvider.`addOIDCRolesClientScope(RealmModel realm)`
    `ClientScopeModel` | DefaultMigrationProvider.`addOIDCWebOriginsClientScope(RealmModel realm)`
    `void` | DefaultMigrationProvider.`setupAdminCli(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.services.resources

    Fields in org.keycloak.services.resources declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | PublicRealmResource.`realm`
    `protected RealmModel` | AbstractSecuredLocalService.`realm`

    Methods in org.keycloak.services.resources with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static void` | LoginActionsServiceChecks.`checkIsUserValid(KeycloakSession session, RealmModel realm, String userId, Consumer<UserModel> userSetter)` Verifies whether the user given by ID both exists in the current realm.
    `static IdentityProvider` | IdentityBrokerService.`getIdentityProvider(KeycloakSession session, RealmModel realm, String alias)`
    `static PublishedRealmRepresentation` | PublicRealmResource.`realmRep(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)`
    `static javax.ws.rs.core.Response` | LoginActionsService.`redirectToAfterBrokerLoginEndpoint(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, AuthenticationSessionModel authSession, boolean firstBrokerLogin)`
    `javax.ws.rs.core.Response` | IdentityBrokerService.`validateUser(AuthenticationSessionModel authSession, UserModel user, RealmModel realm)`

    Constructors in org.keycloak.services.resources with parameters of type RealmModel
    Constructor and Description
    `AbstractSecuredLocalService(RealmModel realm, ClientModel client)`
    `ClientsManagementService(RealmModel realm, EventBuilder event)`
    `IdentityBrokerService(RealmModel realmModel)`
    `LoginActionsService(RealmModel realm, EventBuilder event)`
    `PublicRealmResource(RealmModel realm)`
    `SessionCodeChecks(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, org.jboss.resteasy.spi.HttpRequest request, ClientConnection clientConnection, KeycloakSession session, EventBuilder event, String authSessionId, String code, String execution, String clientId, String tabId, String flowPath)`

  - ### Uses of RealmModel in org.keycloak.services.resources.account

    Methods in org.keycloak.services.resources.account with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `SortedSet<LinkedAccountRepresentation>` | LinkedAccountsResource.`getLinkedAccounts(KeycloakSession session, RealmModel realm, UserModel user)`
    `boolean` | PasswordUtil.`isConfigured(KeycloakSession session, RealmModel realm, UserModel user)`
    `static boolean` | AccountFormService.`isPasswordSet(KeycloakSession session, RealmModel realm, UserModel user)`

    Constructors in org.keycloak.services.resources.account with parameters of type RealmModel
    Constructor and Description
    `AccountConsole(RealmModel realm, ClientModel client, Theme theme)`
    `AccountFormService(RealmModel realm, ClientModel client, EventBuilder event)`

  - ### Uses of RealmModel in org.keycloak.services.resources.admin

    Fields in org.keycloak.services.resources.admin declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | UsersResource.`realm`
    `protected RealmModel` | UserStorageProviderResource.`realm`
    `protected RealmModel` | UserResource.`realm`
    `protected RealmModel` | ScopeMappedResource.`realm`
    `protected RealmModel` | ScopeMappedClientResource.`realm`
    `protected RealmModel` | RoleResource.`realm`
    `protected RealmModel` | RoleMapperResource.`realm`
    `protected RealmModel` | RealmAdminResource.`realm`
    `protected RealmModel` | ProtocolMappersResource.`realm`
    `protected RealmModel` | ComponentResource.`realm`
    `protected RealmModel` | ClientsResource.`realm`
    `protected RealmModel` | ClientStorageProviderResource.`realm`
    `protected RealmModel` | ClientScopesResource.`realm`
    `protected RealmModel` | ClientScopeResource.`realm`
    `protected RealmModel` | ClientRoleMappingsResource.`realm`
    `protected RealmModel` | ClientResource.`realm`
    `protected RealmModel` | ClientAttributeCertificateResource.`realm`
    `protected RealmModel` | AttackDetectionResource.`realm`
    `protected RealmModel` | AdminConsole.`realm`

    Methods in org.keycloak.services.resources.admin that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected RealmModel` | AdminConsole.`getAdminstrationRealm(RealmManager realmManager)`
    `RealmModel` | AdminAuth.`getRealm()`
    `protected RealmModel` | AdminRoot.`locateRealm(String name, RealmManager realmManager)`

    Methods in org.keycloak.services.resources.admin with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `AdminEventBuilder` | AdminEventBuilder.`authRealm(RealmModel realm)`
    `static void` | AuthenticationManagementResource.`copy(RealmModel realm, String newName, AuthenticationFlowModel from, AuthenticationFlowModel to)`
    `static AuthenticationFlowModel` | AuthenticationManagementResource.`copyFlow(RealmModel realm, AuthenticationFlowModel flow, String newName)`
    `static Properties` | AdminRoot.`getMessages(KeycloakSession session, RealmModel realm, String lang)`
    `static Properties` | AdminRoot.`getMessages(KeycloakSession session, RealmModel realm, String lang, String... bundles)`
    `static Theme` | AdminRoot.`getTheme(KeycloakSession session, RealmModel realm)`
    `AdminEventBuilder` | AdminEventBuilder.`realm(RealmModel realm)`
    `protected RealmRepresentation` | RealmsAdminResource.`toRealmRep(RealmModel realm)`

    Constructors in org.keycloak.services.resources.admin with parameters of type RealmModel
    Constructor and Description
    `AdminAuth(RealmModel realm, AccessToken token, UserModel user, ClientModel client)`
    `AdminConsole(RealmModel realm)`
    `AdminEventBuilder(RealmModel realm, AdminAuth auth, KeycloakSession session, ClientConnection clientConnection)`
    `AttackDetectionResource(AdminPermissionEvaluator auth, RealmModel realm, AdminEventBuilder adminEvent)`
    `AuthenticationManagementResource(RealmModel realm, KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `ClientAttributeCertificateResource(RealmModel realm, AdminPermissionEvaluator auth, ClientModel client, KeycloakSession session, String attributePrefix, AdminEventBuilder adminEvent)`
    `ClientInitialAccessResource(RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `ClientRegistrationPolicyResource(RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `ClientResource(RealmModel realm, AdminPermissionEvaluator auth, ClientModel clientModel, KeycloakSession session, AdminEventBuilder adminEvent)`
    `ClientRoleMappingsResource(javax.ws.rs.core.UriInfo uriInfo, KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, RoleMapperModel user, ClientModel client, AdminEventBuilder adminEvent, AdminPermissionEvaluator.RequirePermissionCheck manageCheck, AdminPermissionEvaluator.RequirePermissionCheck viewCheck)`
    `ClientScopeEvaluateResource(KeycloakSession session, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm, AdminPermissionEvaluator auth, ClientModel client, ClientConnection clientConnection)`
    `ClientScopeResource(RealmModel realm, AdminPermissionEvaluator auth, ClientScopeModel clientScope, KeycloakSession session, AdminEventBuilder adminEvent)`
    `ClientScopesResource(RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `ClientsResource(RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `ClientStorageProviderResource(RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `ComponentResource(RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `GroupResource(RealmModel realm, GroupModel group, KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `GroupsResource(RealmModel realm, KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `IdentityProviderResource(AdminPermissionEvaluator auth, RealmModel realm, KeycloakSession session, IdentityProviderModel identityProviderModel, AdminEventBuilder adminEvent)`
    `IdentityProvidersResource(RealmModel realm, KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `KeyResource(RealmModel realm, KeycloakSession session, AdminPermissionEvaluator auth)`
    `ProtocolMappersResource(RealmModel realm, ProtocolMapperContainerModel client, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent, AdminPermissionEvaluator.RequirePermissionCheck managePermission, AdminPermissionEvaluator.RequirePermissionCheck viewPermission)`
    `RealmAdminResource(AdminPermissionEvaluator auth, RealmModel realm, TokenManager tokenManager, AdminEventBuilder adminEvent)`
    `RealmLocalizationResource(RealmModel realm, AdminPermissionEvaluator auth)`
    `RoleByIdResource(RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `RoleContainerResource(KeycloakSession session, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm, AdminPermissionEvaluator auth, RoleContainerModel roleContainer, AdminEventBuilder adminEvent)`
    `RoleMapperResource(RealmModel realm, AdminPermissionEvaluator auth, RoleMapperModel roleMapper, AdminEventBuilder adminEvent, AdminPermissionEvaluator.RequirePermissionCheck manageCheck, AdminPermissionEvaluator.RequirePermissionCheck viewCheck)`
    `RoleResource(RealmModel realm)`
    `ScopeMappedClientResource(RealmModel realm, AdminPermissionEvaluator auth, ScopeContainerModel scopeContainer, KeycloakSession session, ClientModel scopedClient, AdminEventBuilder adminEvent, AdminPermissionEvaluator.RequirePermissionCheck managePermission, AdminPermissionEvaluator.RequirePermissionCheck viewPermission)`
    `ScopeMappedResource(RealmModel realm, AdminPermissionEvaluator auth, ScopeContainerModel scopeContainer, KeycloakSession session, AdminEventBuilder adminEvent, AdminPermissionEvaluator.RequirePermissionCheck managePermission, AdminPermissionEvaluator.RequirePermissionCheck viewPermission)`
    `UserResource(RealmModel realm, UserModel user, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `UsersResource(RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `UserStorageProviderResource(RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`

  - ### Uses of RealmModel in org.keycloak.services.resources.admin.permissions

    Methods in org.keycloak.services.resources.admin.permissions with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | RealmsPermissionEvaluator.`canView(RealmModel realm)`
    `static AdminPermissionEvaluator` | AdminPermissions.`evaluator(KeycloakSession session, RealmModel realm, AdminAuth auth)`
    `static AdminPermissionEvaluator` | AdminPermissions.`evaluator(KeycloakSession session, RealmModel realm, RealmModel adminsRealm, UserModel admin)`
    `boolean` | RealmsPermissionEvaluator.`isAdmin(RealmModel realm)`
    `static AdminPermissionManagement` | AdminPermissions.`management(KeycloakSession session, RealmModel realm)`
    `static RealmsPermissionEvaluator` | AdminPermissions.`realms(KeycloakSession session, RealmModel adminsRealm, UserModel admin)`

  - ### Uses of RealmModel in org.keycloak.services.util

    Constructors in org.keycloak.services.util with parameters of type RealmModel
    Constructor and Description
    `AuthenticationFlowURLHelper(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)`

  - ### Uses of RealmModel in org.keycloak.services.validation

    Methods in org.keycloak.services.validation with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static List<FormMessage>` | Validation.`validateRegistrationForm(KeycloakSession session, RealmModel realm, javax.ws.rs.core.MultivaluedMap<String,String> formData, List<String> requiredCredentialTypes, PasswordPolicy policy)`
    `static List<FormMessage>` | Validation.`validateUpdateProfileForm(RealmModel realm, javax.ws.rs.core.MultivaluedMap<String,String> formData)`
    `static List<FormMessage>` | Validation.`validateUpdateProfileForm(RealmModel realm, javax.ws.rs.core.MultivaluedMap<String,String> formData, boolean userNameRequired)`
    `static boolean` | Validation.`validateUserMandatoryFields(RealmModel realm, UpdateProfileContext user)` Validate if user object contains all mandatory fields.

  - ### Uses of RealmModel in org.keycloak.sessions

    Methods in org.keycloak.sessions that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | RootAuthenticationSessionModel.`getRealm()` Returns realm associated to the root authentication session.
    `RealmModel` | CommonClientSessionModel.`getRealm()`

    Methods in org.keycloak.sessions with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RootAuthenticationSessionModel` | AuthenticationSessionProvider.`createRootAuthenticationSession(RealmModel realm)` Creates and registers a new authentication session with random ID.
    `RootAuthenticationSessionModel` | AuthenticationSessionProvider.`createRootAuthenticationSession(RealmModel realm, String id)` Creates a new root authentication session specified by the provided realm and id.
    `default RootAuthenticationSessionModel` | AuthenticationSessionProvider.`createRootAuthenticationSession(String id, RealmModel realm)` Deprecated. Use `AuthenticationSessionProvider.createRootAuthenticationSession(RealmModel, String)` createRootAuthenticationSession} instead.
    `RootAuthenticationSessionModel` | AuthenticationSessionProvider.`getRootAuthenticationSession(RealmModel realm, String authenticationSessionId)` Returns the root authentication session specified by the provided realm and id.
    `void` | AuthenticationSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)` Removes all associated root authentication sessions to the given realm and client which was removed.
    `void` | AuthenticationSessionProvider.`onRealmRemoved(RealmModel realm)` Removes all associated root authentication sessions to the given realm which was removed.
    `void` | AuthenticationSessionProvider.`removeExpired(RealmModel realm)` Removes all expired root authentication sessions for the given realm.
    `void` | AuthenticationSessionProvider.`removeRootAuthenticationSession(RealmModel realm, RootAuthenticationSessionModel authenticationSession)` Removes provided root authentication session.
    `void` | RootAuthenticationSessionModel.`restartSession(RealmModel realm)` Will completely restart whole state of authentication session.

  - ### Uses of RealmModel in org.keycloak.social.twitter

    Fields in org.keycloak.social.twitter declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | TwitterIdentityProvider.Endpoint.`realm`

    Methods in org.keycloak.social.twitter with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `Object` | TwitterIdentityProvider.`callback(RealmModel realm, IdentityProvider.AuthenticationCallback callback, EventBuilder event)`

    Constructors in org.keycloak.social.twitter with parameters of type RealmModel
    Constructor and Description
    `Endpoint(RealmModel realm, IdentityProvider.AuthenticationCallback callback, EventBuilder event)`

  - ### Uses of RealmModel in org.keycloak.storage

    Methods in org.keycloak.storage with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | ClientStorageManager.`addClient(RealmModel realm, String clientId)`
    `ClientModel` | ClientStorageManager.`addClient(RealmModel realm, String id, String clientId)`
    `void` | UserStorageManager.`addConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | UserStorageManager.`addFederatedIdentity(RealmModel realm, UserModel user, FederatedIdentityModel socialLink)`
    `RoleModel` | RoleStorageManager.`addRealmRole(RealmModel realm, String name)`
    `RoleModel` | RoleStorageManager.`addRealmRole(RealmModel realm, String id, String name)`
    `void` | GroupStorageManager.`addTopLevelGroup(RealmModel realm, GroupModel subGroup)`
    `UserModel` | UserStorageManager.`addUser(RealmModel realm, String username)` `UserRegistrationProvider` methods implementations start here
    `UserModel` | UserStorageManager.`addUser(RealmModel realm, String id, String username, boolean addDefaultRoles, boolean addDefaultRequiredActions)` `UserStorageProvider` methods implementation end here `UserProvider` methods implementations start here -> no StorageProviders involved
    `protected <T> void` | AbstractStorageManager.`consumeEnabledStorageProvidersWithTimeout(RealmModel realm, Class<T> capabilityInterface, Consumer<T> consumer)` Gets all enabled StorageProviders that implements the capabilityInterface and call applyFunction on each !! Each StorageProvider has a limited time for consuming !!
    `GroupModel` | GroupStorageManager.`createGroup(RealmModel realm, String id, String name, GroupModel toParent)`
    `protected void` | UserStorageManager.`deleteInvalidUser(RealmModel realm, UserModel user)`
    `protected <R,T> Stream<R>` | AbstractStorageManager.`flatMapEnabledStorageProvidersWithTimeout(RealmModel realm, Class<T> capabilityInterface, Function<T,? extends Stream<R>> applyFunction)` Gets all enabled StorageProviders that implements the capabilityInterface, applies applyFunction on each of them and then join the results together.
    `Stream<ClientModel>` | ClientStorageManager.`getAlwaysDisplayInConsoleClientsStream(RealmModel realm)`
    `ClientModel` | ClientStorageManager.`getClientByClientId(RealmModel realm, String clientId)`
    `ClientModel` | ClientStorageManager.`getClientById(RealmModel realm, String id)`
    `long` | ClientStorageManager.`getClientsCount(RealmModel realm)`
    `Stream<ClientModel>` | ClientStorageManager.`getClientsStream(RealmModel realm)`
    `Stream<ClientModel>` | ClientStorageManager.`getClientsStream(RealmModel realm, Integer firstResult, Integer maxResults)`
    `UserConsentModel` | UserStorageManager.`getConsentByClient(RealmModel realm, String userId, String clientInternalId)`
    `Stream<UserConsentModel>` | UserStorageManager.`getConsentsStream(RealmModel realm, String userId)`
    `static <T> Stream<T>` | RoleStorageManager.`getEnabledStorageProviders(KeycloakSession session, RealmModel realm, Class<T> type)`
    `static <T> Stream<T>` | ClientStorageManager.`getEnabledStorageProviders(KeycloakSession session, RealmModel realm, Class<T> type)`
    `protected <T> Stream<T>` | AbstractStorageManager.`getEnabledStorageProviders(RealmModel realm, Class<T> capabilityInterface)` Returns stream of all storageProviders within the realm that implements the capabilityInterface.
    `Stream<FederatedIdentityModel>` | UserStorageManager.`getFederatedIdentitiesStream(UserModel user, RealmModel realm)`
    `FederatedIdentityModel` | UserStorageManager.`getFederatedIdentity(UserModel user, String socialProvider, RealmModel realm)`
    `GroupModel` | GroupStorageManager.`getGroupById(RealmModel realm, String id)`
    `Stream<UserModel>` | UserStorageManager.`getGroupMembersStream(RealmModel realm, GroupModel group)` `UserLookupProvider` methods implementations end here `UserQueryProvider` methods implementation start here
    `Stream<UserModel>` | UserStorageManager.`getGroupMembersStream(RealmModel realm, GroupModel group, Integer firstResult, Integer maxResults)`
    `Stream<GroupModel>` | GroupStorageManager.`getGroupsByRoleStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)`
    `Long` | GroupStorageManager.`getGroupsCount(RealmModel realm, Boolean onlyTopGroups)`
    `Long` | GroupStorageManager.`getGroupsCountByNameContaining(RealmModel realm, String search)`
    `Stream<GroupModel>` | GroupStorageManager.`getGroupsStream(RealmModel realm)`
    `Stream<GroupModel>` | GroupStorageManager.`getGroupsStream(RealmModel realm, Stream<String> ids, String search, Integer first, Integer max)`
    `int` | UserStorageManager.`getNotBeforeOfUser(RealmModel realm, UserModel user)`
    `RoleModel` | RoleStorageManager.`getRealmRole(RealmModel realm, String name)`
    `Stream<RoleModel>` | RoleStorageManager.`getRealmRolesStream(RealmModel realm, Integer first, Integer max)`
    `RoleModel` | RoleStorageManager.`getRoleById(RealmModel realm, String id)`
    `Stream<UserModel>` | UserStorageManager.`getRoleMembersStream(RealmModel realm, RoleModel role)`
    `Stream<UserModel>` | UserStorageManager.`getRoleMembersStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)`
    `static RoleStorageProvider` | RoleStorageManager.`getStorageProvider(KeycloakSession session, RealmModel realm, String componentId)`
    `static ClientStorageProvider` | ClientStorageManager.`getStorageProvider(KeycloakSession session, RealmModel realm, String componentId)`
    `protected <T> T` | AbstractStorageManager.`getStorageProviderInstance(RealmModel realm, String providerId, Class<T> capabilityInterface)`
    `protected <T> T` | AbstractStorageManager.`getStorageProviderInstance(RealmModel realm, String providerId, Class<T> capabilityInterface, boolean includeDisabled)` Returns an instance of provider with the providerId within the realm or null if storage provider with providerId doesn't implement capabilityInterface.
    `static RoleStorageProviderModel` | RoleStorageManager.`getStorageProviderModel(RealmModel realm, String componentId)`
    `static ClientStorageProviderModel` | ClientStorageManager.`getStorageProviderModel(RealmModel realm, String componentId)`
    `protected StorageProviderModelType` | AbstractStorageManager.`getStorageProviderModel(RealmModel realm, String providerId)` Returns an instance of StorageProvider model corresponding realm and providerId
    `static Stream<ComponentModel>` | AbstractStorageManager.`getStorageProviderModels(RealmModel realm, Class<? extends Provider> storageType)` Stream of ComponentModels of storageType.
    `static <T> Stream<T>` | RoleStorageManager.`getStorageProviders(KeycloakSession session, RealmModel realm, Class<T> type)`
    `static <T> Stream<T>` | ClientStorageManager.`getStorageProviders(KeycloakSession session, RealmModel realm, Class<T> type)`
    `static <T> Stream<RoleStorageProviderModel>` | RoleStorageManager.`getStorageProviders(RealmModel realm, KeycloakSession session, Class<T> type)`
    `Stream<GroupModel>` | GroupStorageManager.`getTopLevelGroupsStream(RealmModel realm)`
    `Stream<GroupModel>` | GroupStorageManager.`getTopLevelGroupsStream(RealmModel realm, Integer firstResult, Integer maxResults)`
    `UserModel` | UserStorageManager.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | UserStorageManager.`getUserByFederatedIdentity(FederatedIdentityModel socialLink, RealmModel realm)`
    `UserModel` | UserStorageManager.`getUserById(String id, RealmModel realm)` `UserRegistrationProvider` methods implementations end here `UserLookupProvider` methods implementations start here
    `UserModel` | UserStorageManager.`getUserByUsername(String username, RealmModel realm)`
    `int` | UserStorageManager.`getUsersCount(Map<String,String> params, RealmModel realm)`
    `int` | UserStorageManager.`getUsersCount(Map<String,String> params, RealmModel realm, Set<String> groupIds)`
    `int` | UserStorageManager.`getUsersCount(RealmModel realm)`
    `int` | UserStorageManager.`getUsersCount(RealmModel realm, boolean includeServiceAccount)`
    `int` | UserStorageManager.`getUsersCount(RealmModel realm, Set<String> groupIds)`
    `int` | UserStorageManager.`getUsersCount(String search, RealmModel realm)`
    `int` | UserStorageManager.`getUsersCount(String search, RealmModel realm, Set<String> groupIds)`
    `Stream<UserModel>` | UserStorageManager.`getUsersStream(RealmModel realm)`
    `Stream<UserModel>` | UserStorageManager.`getUsersStream(RealmModel realm, boolean includeServiceAccounts)`
    `Stream<UserModel>` | UserStorageManager.`getUsersStream(RealmModel realm, Integer firstResult, Integer maxResults, boolean includeServiceAccounts)`
    `Stream<UserModel>` | UserStorageManager.`getUsersStream(RealmModel realm, int firstResult, int maxResults)`
    `void` | UserStorageManager.`grantToAllUsers(RealmModel realm, RoleModel role)` `UserQueryProvider` methods implementation end here `UserBulkUpdateProvider` methods implementation start here
    `protected Stream<UserModel>` | UserStorageManager.`importValidation(RealmModel realm, Stream<UserModel> users)`
    `protected UserModel` | UserStorageManager.`importValidation(RealmModel realm, UserModel user)` Allows a UserStorageProvider to proxy and/or synchronize an imported user.
    `static boolean` | RoleStorageManager.`isStorageProviderEnabled(RealmModel realm, String providerId)`
    `static boolean` | ClientStorageManager.`isStorageProviderEnabled(RealmModel realm, String providerId)`
    `protected <R,T> Stream<R>` | AbstractStorageManager.`mapEnabledStorageProvidersWithTimeout(RealmModel realm, Class<T> capabilityInterface, Function<T,R> applyFunction)` Gets all enabled StorageProviders that implements the capabilityInterface, applies applyFunction on each of them and returns the stream.
    `void` | GroupStorageManager.`moveGroup(RealmModel realm, GroupModel group, GroupModel toParent)`
    `void` | UserStorageManager.`onCache(RealmModel realm, CachedUserModel user, UserModel delegate)`
    `void` | OnCreateComponent.`onCreate(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `default void` | UserStorageProviderFactory.`onCreate(KeycloakSession session, RealmModel realm, ComponentModel model)` Called when UserStorageProviderModel is created.
    `void` | UserStorageManager.`onCreate(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | OnUpdateComponent.`onUpdate(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel)`
    `void` | UserStorageManager.`onUpdate(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel)`
    `default void` | UserStorageProvider.`preRemove(RealmModel realm)` Callback when a realm is removed.
    `void` | UserStorageManager.`preRemove(RealmModel realm)` `UserBulkUpdateProvider` methods implementation end here `UserStorageProvider` methods implementations start here -> no StorageProviders involved
    `void` | UserStorageManager.`preRemove(RealmModel realm, ClientModel client)`
    `void` | UserStorageManager.`preRemove(RealmModel realm, ComponentModel component)`
    `default void` | UserStorageProvider.`preRemove(RealmModel realm, GroupModel group)` Callback when a group is removed.
    `void` | UserStorageManager.`preRemove(RealmModel realm, GroupModel group)`
    `void` | UserStorageManager.`preRemove(RealmModel realm, IdentityProviderModel provider)`
    `default void` | UserStorageProvider.`preRemove(RealmModel realm, RoleModel role)` Callback when a role is removed.
    `void` | UserStorageManager.`preRemove(RealmModel realm, RoleModel role)`
    `void` | GroupStorageManager.`preRemove(RealmModel realm, RoleModel role)`
    `protected Stream<UserModel>` | UserStorageManager.`query(org.keycloak.storage.UserStorageManager.PaginatedQuery pagedQuery, RealmModel realm, int firstResult, int maxResults)`
    `boolean` | ClientStorageManager.`removeClient(RealmModel realm, String id)`
    `void` | ClientStorageManager.`removeClients(RealmModel realm)`
    `boolean` | UserStorageManager.`removeFederatedIdentity(RealmModel realm, UserModel user, String socialProvider)`
    `boolean` | GroupStorageManager.`removeGroup(RealmModel realm, GroupModel group)`
    `void` | UserStorageManager.`removeImportedUsers(RealmModel realm, String storageProviderId)`
    `void` | RoleStorageManager.`removeRoles(RealmModel realm)`
    `boolean` | UserStorageManager.`removeUser(RealmModel realm, UserModel user)`
    `boolean` | UserStorageManager.`revokeConsentForClient(RealmModel realm, String userId, String clientInternalId)`
    `Stream<ClientModel>` | ClientStorageManager.`searchClientsByClientIdStream(RealmModel realm, String clientId, Integer firstResult, Integer maxResults)` Obtaining clients from an external client storage is time-bounded.
    `Stream<GroupModel>` | GroupStorageManager.`searchForGroupByNameStream(RealmModel realm, String search, Integer firstResult, Integer maxResults)` Obtaining groups from an external client storage is time-bounded.
    `Stream<RoleModel>` | RoleStorageManager.`searchForRolesStream(RealmModel realm, String search, Integer first, Integer max)` Obtaining roles from an external role storage is time-bounded.
    `Stream<UserModel>` | UserStorageManager.`searchForUserByUserAttributeStream(String attrName, String attrValue, RealmModel realm)`
    `Stream<UserModel>` | UserStorageManager.`searchForUserStream(Map<String,String> attributes, RealmModel realm)`
    `Stream<UserModel>` | UserStorageManager.`searchForUserStream(Map<String,String> attributes, RealmModel realm, Integer firstResult, Integer maxResults)`
    `Stream<UserModel>` | UserStorageManager.`searchForUserStream(String search, RealmModel realm)`
    `Stream<UserModel>` | UserStorageManager.`searchForUserStream(String search, RealmModel realm, Integer firstResult, Integer maxResults)`
    `void` | UserStorageManager.`setNotBeforeForUser(RealmModel realm, UserModel user, int notBefore)`
    `void` | UserStorageManager.`unlinkUsers(RealmModel realm, String storageProviderId)`
    `void` | UserStorageManager.`updateConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | UserStorageManager.`updateFederatedIdentity(RealmModel realm, UserModel federatedUser, FederatedIdentityModel federatedIdentityModel)`
    `default void` | UserStorageProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`

  - ### Uses of RealmModel in org.keycloak.storage.adapter

    Fields in org.keycloak.storage.adapter declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | AbstractUserAdapterFederatedStorage.`realm`
    `protected RealmModel` | AbstractUserAdapter.`realm`

    Constructors in org.keycloak.storage.adapter with parameters of type RealmModel
    Constructor and Description
    `AbstractUserAdapter(KeycloakSession session, RealmModel realm, ComponentModel storageProviderModel)`
    `AbstractUserAdapterFederatedStorage(KeycloakSession session, RealmModel realm, ComponentModel storageProviderModel)`
    `InMemoryUserAdapter(KeycloakSession session, RealmModel realm, String id)`
    `Streams(KeycloakSession session, RealmModel realm, ComponentModel storageProviderModel)`
    `Streams(KeycloakSession session, RealmModel realm, ComponentModel storageProviderModel)`

  - ### Uses of RealmModel in org.keycloak.storage.client

    Fields in org.keycloak.storage.client declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | AbstractClientStorageAdapter.`realm`

    Methods in org.keycloak.storage.client that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | AbstractClientStorageAdapter.`getRealm()`

    Methods in org.keycloak.storage.client with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | ClientLookupProvider.`getClientByClientId(RealmModel realm, String clientId)` Exact search for a client by its public client identifier.
    `default ClientModel` | ClientLookupProvider.`getClientByClientId(String clientId, RealmModel realm)` Deprecated. Use `ClientLookupProvider.getClientByClientId(org.keycloak.models.RealmModel, java.lang.String)` instead.
    `ClientModel` | ClientLookupProvider.`getClientById(RealmModel realm, String id)` Exact search for a client by its internal ID.
    `default ClientModel` | ClientLookupProvider.`getClientById(String id, RealmModel realm)` Deprecated. Use `ClientLookupProvider.getClientById(org.keycloak.models.RealmModel, java.lang.String)` instead.
    `default void` | ClientStorageProviderFactory.`onCreate(KeycloakSession session, RealmModel realm, ComponentModel model)` Called when ClientStorageProviderModel is created.
    `default void` | ClientStorageProvider.`preRemove(RealmModel realm)` Callback when a realm is removed.
    `default void` | ClientStorageProvider.`preRemove(RealmModel realm, GroupModel group)` Callback when a group is removed.
    `default void` | ClientStorageProvider.`preRemove(RealmModel realm, RoleModel role)` Callback when a role is removed.
    `default List<ClientModel>` | ClientLookupProvider.`searchClientsByClientId(String clientId, Integer firstResult, Integer maxResults, RealmModel realm)` Deprecated. Use `ClientLookupProvider.searchClientsByClientIdStream(org.keycloak.models.RealmModel, java.lang.String, java.lang.Integer, java.lang.Integer)` instead.
    `Stream<ClientModel>` | ClientLookupProvider.`searchClientsByClientIdStream(RealmModel realm, String clientId, Integer firstResult, Integer maxResults)` Case-insensitive search for clients that contain the given string in their public client identifier.
    `default void` | ClientStorageProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`

    Constructors in org.keycloak.storage.client with parameters of type RealmModel
    Constructor and Description
    `AbstractClientStorageAdapter(KeycloakSession session, RealmModel realm, ClientStorageProviderModel component)`
    `AbstractReadOnlyClientStorageAdapter(KeycloakSession session, RealmModel realm, ClientStorageProviderModel component)`

  - ### Uses of RealmModel in org.keycloak.storage.federated

    Methods in org.keycloak.storage.federated with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | UserConsentFederatedStorage.`addConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | UserBrokerLinkFederatedStorage.`addFederatedIdentity(RealmModel realm, String userId, FederatedIdentityModel socialLink)`
    `void` | UserRequiredActionsFederatedStorage.`addRequiredAction(RealmModel realm, String userId, String action)`
    `CredentialModel` | UserFederatedUserCredentialStore.`createCredential(RealmModel realm, String userId, CredentialModel cred)`
    `void` | UserRoleMappingsFederatedStorage.`deleteRoleMapping(RealmModel realm, String userId, RoleModel role)`
    `MultivaluedHashMap<String,String>` | UserAttributeFederatedStorage.`getAttributes(RealmModel realm, String userId)`
    `UserConsentModel` | UserConsentFederatedStorage.`getConsentByClient(RealmModel realm, String userId, String clientInternalId)`
    `List<UserConsentModel>` | UserConsentFederatedStorage.`getConsents(RealmModel realm, String userId)` Deprecated. Use `getConsentsStream` instead.
    `default List<UserConsentModel>` | UserConsentFederatedStorage.Streams.`getConsents(RealmModel realm, String userId)`
    `default Stream<UserConsentModel>` | UserConsentFederatedStorage.`getConsentsStream(RealmModel realm, String userId)` Obtains the consents associated with the federated user identified by `userId`.
    `Stream<UserConsentModel>` | UserConsentFederatedStorage.Streams.`getConsentsStream(RealmModel realm, String userId)`
    `Set<FederatedIdentityModel>` | UserBrokerLinkFederatedStorage.`getFederatedIdentities(String userId, RealmModel realm)` Deprecated. Use `getFederatedIdentitiesStream` instead.
    `default Set<FederatedIdentityModel>` | UserBrokerLinkFederatedStorage.Streams.`getFederatedIdentities(String userId, RealmModel realm)`
    `default Stream<FederatedIdentityModel>` | UserBrokerLinkFederatedStorage.`getFederatedIdentitiesStream(String userId, RealmModel realm)` Obtains the identities of the federated user identified by `userId`.
    `Stream<FederatedIdentityModel>` | UserBrokerLinkFederatedStorage.Streams.`getFederatedIdentitiesStream(String userId, RealmModel realm)`
    `FederatedIdentityModel` | UserBrokerLinkFederatedStorage.`getFederatedIdentity(String userId, String socialProvider, RealmModel realm)`
    `Set<GroupModel>` | UserGroupMembershipFederatedStorage.`getGroups(RealmModel realm, String userId)` Deprecated. Use `getGroupsStream` instead.
    `default Set<GroupModel>` | UserGroupMembershipFederatedStorage.Streams.`getGroups(RealmModel realm, String userId)`
    `default Stream<GroupModel>` | UserGroupMembershipFederatedStorage.`getGroupsStream(RealmModel realm, String userId)` Obtains the groups associated with the federated user.
    `Stream<GroupModel>` | UserGroupMembershipFederatedStorage.Streams.`getGroupsStream(RealmModel realm, String userId)`
    `List<String>` | UserGroupMembershipFederatedStorage.`getMembership(RealmModel realm, GroupModel group, int firstResult, int max)` Deprecated. Use `getMembershipStream` instead.
    `default List<String>` | UserGroupMembershipFederatedStorage.Streams.`getMembership(RealmModel realm, GroupModel group, int firstResult, int max)`
    `default Stream<String>` | UserGroupMembershipFederatedStorage.`getMembershipStream(RealmModel realm, GroupModel group, int firstResult, int max)` Obtains the federated users that are members of the given `group` in the specified `realm`.
    `Stream<String>` | UserGroupMembershipFederatedStorage.Streams.`getMembershipStream(RealmModel realm, GroupModel group, int firstResult, int max)`
    `int` | UserNotBeforeFederatedStorage.`getNotBeforeOfUser(RealmModel realm, String userId)`
    `Set<String>` | UserRequiredActionsFederatedStorage.`getRequiredActions(RealmModel realm, String userId)` Deprecated. Use `getRequiredActionsStream` instead.
    `default Set<String>` | UserRequiredActionsFederatedStorage.Streams.`getRequiredActions(RealmModel realm, String userId)`
    `default Stream<String>` | UserRequiredActionsFederatedStorage.`getRequiredActionsStream(RealmModel realm, String userId)` Obtains the names of required actions associated with the federated user identified by `userId`.
    `Stream<String>` | UserRequiredActionsFederatedStorage.Streams.`getRequiredActionsStream(RealmModel realm, String userId)`
    `Set<RoleModel>` | UserRoleMappingsFederatedStorage.`getRoleMappings(RealmModel realm, String userId)` Deprecated. Use `getRoleMappingsStream` instead.
    `default Set<RoleModel>` | UserRoleMappingsFederatedStorage.Streams.`getRoleMappings(RealmModel realm, String userId)`
    `default Stream<RoleModel>` | UserRoleMappingsFederatedStorage.`getRoleMappingsStream(RealmModel realm, String userId)` Obtains the roles associated with the federated user identified by `userId`.
    `Stream<RoleModel>` | UserRoleMappingsFederatedStorage.Streams.`getRoleMappingsStream(RealmModel realm, String userId)`
    `CredentialModel` | UserFederatedUserCredentialStore.`getStoredCredentialById(RealmModel realm, String userId, String id)`
    `CredentialModel` | UserFederatedUserCredentialStore.`getStoredCredentialByNameAndType(RealmModel realm, String userId, String name, String type)`
    `List<CredentialModel>` | UserFederatedUserCredentialStore.`getStoredCredentials(RealmModel realm, String userId)` Deprecated. Use `getStoredCredentialsStream` instead.
    `default List<CredentialModel>` | UserFederatedUserCredentialStore.Streams.`getStoredCredentials(RealmModel realm, String userId)`
    `List<CredentialModel>` | UserFederatedUserCredentialStore.`getStoredCredentialsByType(RealmModel realm, String userId, String type)` Deprecated. Use `getStoredCredentialsByTypeStream` instead.
    `default List<CredentialModel>` | UserFederatedUserCredentialStore.Streams.`getStoredCredentialsByType(RealmModel realm, String userId, String type)`
    `default Stream<CredentialModel>` | UserFederatedUserCredentialStore.`getStoredCredentialsByTypeStream(RealmModel realm, String userId, String type)` Obtains the credentials of type `type` that are associated with the federated user identified by `userId`.
    `Stream<CredentialModel>` | UserFederatedUserCredentialStore.Streams.`getStoredCredentialsByTypeStream(RealmModel realm, String userId, String type)`
    `default Stream<CredentialModel>` | UserFederatedUserCredentialStore.`getStoredCredentialsStream(RealmModel realm, String userId)` Obtains the credentials associated with the federated user identified by `userId`.
    `Stream<CredentialModel>` | UserFederatedUserCredentialStore.Streams.`getStoredCredentialsStream(RealmModel realm, String userId)`
    `List<String>` | UserFederatedStorageProvider.`getStoredUsers(RealmModel realm, int first, int max)` Deprecated. Use `getStoredUsersStream` instead.
    `default List<String>` | UserFederatedStorageProvider.Streams.`getStoredUsers(RealmModel realm, int first, int max)`
    `int` | UserFederatedStorageProvider.`getStoredUsersCount(RealmModel realm)`
    `default Stream<String>` | UserFederatedStorageProvider.`getStoredUsersStream(RealmModel realm, int first, int max)` Obtains the ids of all federated users in the realm.
    `Stream<String>` | UserFederatedStorageProvider.Streams.`getStoredUsersStream(RealmModel realm, int first, int max)`
    `String` | UserBrokerLinkFederatedStorage.`getUserByFederatedIdentity(FederatedIdentityModel socialLink, RealmModel realm)`
    `List<String>` | UserAttributeFederatedStorage.`getUsersByUserAttribute(RealmModel realm, String name, String value)` Deprecated. Use `getUsersByUserAttributeStream` instead.
    `default List<String>` | UserAttributeFederatedStorage.Streams.`getUsersByUserAttribute(RealmModel realm, String name, String value)`
    `default Stream<String>` | UserAttributeFederatedStorage.`getUsersByUserAttributeStream(RealmModel realm, String name, String value)` Searches for federated users that have an attribute with the specified `name` and `value`.
    `Stream<String>` | UserAttributeFederatedStorage.Streams.`getUsersByUserAttributeStream(RealmModel realm, String name, String value)`
    `void` | UserRoleMappingsFederatedStorage.`grantRole(RealmModel realm, String userId, RoleModel role)`
    `void` | UserGroupMembershipFederatedStorage.`joinGroup(RealmModel realm, String userId, GroupModel group)`
    `void` | UserGroupMembershipFederatedStorage.`leaveGroup(RealmModel realm, String userId, GroupModel group)`
    `void` | UserFederatedStorageProvider.`preRemove(RealmModel realm)`
    `void` | UserFederatedStorageProvider.`preRemove(RealmModel realm, ClientModel client)`
    `void` | UserFederatedStorageProvider.`preRemove(RealmModel realm, ComponentModel model)`
    `void` | UserFederatedStorageProvider.`preRemove(RealmModel realm, GroupModel group)`
    `void` | UserBrokerLinkFederatedStorage.`preRemove(RealmModel realm, IdentityProviderModel provider)`
    `void` | UserFederatedStorageProvider.`preRemove(RealmModel realm, RoleModel role)`
    `void` | UserFederatedStorageProvider.`preRemove(RealmModel realm, UserModel user)`
    `void` | UserAttributeFederatedStorage.`removeAttribute(RealmModel realm, String userId, String name)`
    `boolean` | UserBrokerLinkFederatedStorage.`removeFederatedIdentity(RealmModel realm, String userId, String socialProvider)`
    `void` | UserRequiredActionsFederatedStorage.`removeRequiredAction(RealmModel realm, String userId, String action)`
    `boolean` | UserFederatedUserCredentialStore.`removeStoredCredential(RealmModel realm, String userId, String id)`
    `boolean` | UserConsentFederatedStorage.`revokeConsentForClient(RealmModel realm, String userId, String clientInternalId)`
    `void` | UserAttributeFederatedStorage.`setAttribute(RealmModel realm, String userId, String name, List<String> values)`
    `void` | UserNotBeforeFederatedStorage.`setNotBeforeForUser(RealmModel realm, String userId, int notBefore)`
    `void` | UserAttributeFederatedStorage.`setSingleAttribute(RealmModel realm, String userId, String name, String value)`
    `void` | UserConsentFederatedStorage.`updateConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | UserFederatedUserCredentialStore.`updateCredential(RealmModel realm, String userId, CredentialModel cred)`
    `void` | UserBrokerLinkFederatedStorage.`updateFederatedIdentity(RealmModel realm, String userId, FederatedIdentityModel federatedIdentityModel)`

  - ### Uses of RealmModel in org.keycloak.storage.group

    Methods in org.keycloak.storage.group with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `GroupModel` | GroupLookupProvider.`getGroupById(RealmModel realm, String id)` Returns a group from the given realm with the corresponding id
    `default void` | GroupStorageProviderFactory.`onCreate(KeycloakSession session, RealmModel realm, ComponentModel model)` Called when GroupStorageProviderModel is created.
    `default List<GroupModel>` | GroupLookupProvider.`searchForGroupByName(RealmModel realm, String search, Integer firstResult, Integer maxResults)` Deprecated. Use `searchForGroupByNameStream` instead.
    `Stream<GroupModel>` | GroupLookupProvider.`searchForGroupByNameStream(RealmModel realm, String search, Integer firstResult, Integer maxResults)` Returns groups with the given string in name for the given realm.
    `default void` | GroupStorageProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`

  - ### Uses of RealmModel in org.keycloak.storage.jpa

    Methods in org.keycloak.storage.jpa with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | JpaUserFederatedStorageProvider.`addConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | JpaUserFederatedStorageProvider.`addFederatedIdentity(RealmModel realm, String userId, FederatedIdentityModel link)`
    `void` | JpaUserFederatedStorageProvider.`addRequiredAction(RealmModel realm, String userId, String action)`
    `CredentialModel` | JpaUserFederatedStorageProvider.`createCredential(RealmModel realm, String userId, CredentialModel cred)`
    `CredentialModel` | JpaUserFederatedStorageProvider.`createCredential(RealmModel realm, UserModel user, CredentialModel cred)`
    `protected void` | JpaUserFederatedStorageProvider.`createIndex(RealmModel realm, String userId)` We create an entry so that its easy to iterate over all things in the database.
    `void` | JpaUserFederatedStorageProvider.`deleteRoleMapping(RealmModel realm, String userId, RoleModel role)`
    `MultivaluedHashMap<String,String>` | JpaUserFederatedStorageProvider.`getAttributes(RealmModel realm, String userId)`
    `UserConsentModel` | JpaUserFederatedStorageProvider.`getConsentByClient(RealmModel realm, String userId, String clientInternalId)`
    `Stream<UserConsentModel>` | JpaUserFederatedStorageProvider.`getConsentsStream(RealmModel realm, String userId)`
    `Stream<FederatedIdentityModel>` | JpaUserFederatedStorageProvider.`getFederatedIdentitiesStream(String userId, RealmModel realm)`
    `FederatedIdentityModel` | JpaUserFederatedStorageProvider.`getFederatedIdentity(String userId, String socialProvider, RealmModel realm)`
    `Stream<GroupModel>` | JpaUserFederatedStorageProvider.`getGroupsStream(RealmModel realm, String userId)`
    `Stream<String>` | JpaUserFederatedStorageProvider.`getMembershipStream(RealmModel realm, GroupModel group, int firstResult, int max)`
    `int` | JpaUserFederatedStorageProvider.`getNotBeforeOfUser(RealmModel realm, String userId)`
    `Stream<String>` | JpaUserFederatedStorageProvider.`getRequiredActionsStream(RealmModel realm, String userId)`
    `Stream<RoleModel>` | JpaUserFederatedStorageProvider.`getRoleMappingsStream(RealmModel realm, String userId)`
    `CredentialModel` | JpaUserFederatedStorageProvider.`getStoredCredentialById(RealmModel realm, String userId, String id)`
    `CredentialModel` | JpaUserFederatedStorageProvider.`getStoredCredentialById(RealmModel realm, UserModel user, String id)`
    `CredentialModel` | JpaUserFederatedStorageProvider.`getStoredCredentialByNameAndType(RealmModel realm, String userId, String name, String type)`
    `CredentialModel` | JpaUserFederatedStorageProvider.`getStoredCredentialByNameAndType(RealmModel realm, UserModel user, String name, String type)`
    `Stream<CredentialModel>` | JpaUserFederatedStorageProvider.`getStoredCredentialsByTypeStream(RealmModel realm, String userId, String type)`
    `Stream<CredentialModel>` | JpaUserFederatedStorageProvider.`getStoredCredentialsByTypeStream(RealmModel realm, UserModel user, String type)`
    `Stream<CredentialModel>` | JpaUserFederatedStorageProvider.`getStoredCredentialsStream(RealmModel realm, String userId)`
    `Stream<CredentialModel>` | JpaUserFederatedStorageProvider.`getStoredCredentialsStream(RealmModel realm, UserModel user)`
    `int` | JpaUserFederatedStorageProvider.`getStoredUsersCount(RealmModel realm)`
    `Stream<String>` | JpaUserFederatedStorageProvider.`getStoredUsersStream(RealmModel realm, int first, int max)`
    `String` | JpaUserFederatedStorageProvider.`getUserByFederatedIdentity(FederatedIdentityModel link, RealmModel realm)`
    `Stream<String>` | JpaUserFederatedStorageProvider.`getUsersByUserAttributeStream(RealmModel realm, String name, String value)`
    `void` | JpaUserFederatedStorageProvider.`grantRole(RealmModel realm, String userId, RoleModel role)`
    `void` | JpaUserFederatedStorageProvider.`joinGroup(RealmModel realm, String userId, GroupModel group)`
    `void` | JpaUserFederatedStorageProvider.`leaveGroup(RealmModel realm, String userId, GroupModel group)`
    `boolean` | JpaUserFederatedStorageProvider.`moveCredentialTo(RealmModel realm, UserModel user, String id, String newPreviousCredentialId)`
    `void` | JpaUserFederatedStorageProvider.`preRemove(RealmModel realm)`
    `void` | JpaUserFederatedStorageProvider.`preRemove(RealmModel realm, ClientModel client)`
    `void` | JpaUserFederatedStorageProvider.`preRemove(RealmModel realm, ComponentModel model)`
    `void` | JpaUserFederatedStorageProvider.`preRemove(RealmModel realm, GroupModel group)`
    `void` | JpaUserFederatedStorageProvider.`preRemove(RealmModel realm, IdentityProviderModel provider)`
    `void` | JpaUserFederatedStorageProvider.`preRemove(RealmModel realm, RoleModel role)`
    `void` | JpaUserFederatedStorageProvider.`preRemove(RealmModel realm, UserModel user)`
    `void` | JpaUserFederatedStorageProvider.`removeAttribute(RealmModel realm, String userId, String name)`
    `boolean` | JpaUserFederatedStorageProvider.`removeFederatedIdentity(RealmModel realm, String userId, String socialProvider)`
    `void` | JpaUserFederatedStorageProvider.`removeRequiredAction(RealmModel realm, String userId, String action)`
    `boolean` | JpaUserFederatedStorageProvider.`removeStoredCredential(RealmModel realm, String userId, String id)`
    `boolean` | JpaUserFederatedStorageProvider.`removeStoredCredential(RealmModel realm, UserModel user, String id)`
    `boolean` | JpaUserFederatedStorageProvider.`revokeConsentForClient(RealmModel realm, String userId, String clientInternalId)`
    `void` | JpaUserFederatedStorageProvider.`setAttribute(RealmModel realm, String userId, String name, List<String> values)`
    `void` | JpaUserFederatedStorageProvider.`setNotBeforeForUser(RealmModel realm, String userId, int notBefore)`
    `void` | JpaUserFederatedStorageProvider.`setSingleAttribute(RealmModel realm, String userId, String name, String value)`
    `void` | JpaUserFederatedStorageProvider.`updateConsent(RealmModel realm, String userId, UserConsentModel consent)`
    `void` | JpaUserFederatedStorageProvider.`updateCredential(RealmModel realm, String userId, CredentialModel cred)`
    `void` | JpaUserFederatedStorageProvider.`updateCredential(RealmModel realm, UserModel user, CredentialModel cred)`
    `void` | JpaUserFederatedStorageProvider.`updateFederatedIdentity(RealmModel realm, String userId, FederatedIdentityModel model)`

  - ### Uses of RealmModel in org.keycloak.storage.ldap

    Methods in org.keycloak.storage.ldap with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `UserModel` | LDAPStorageProvider.`addUser(RealmModel realm, String username)`
    `static LDAPObject` | LDAPUtils.`addUserToLDAP(LDAPStorageProvider ldapProvider, RealmModel realm, UserModel user)`
    `CredentialValidationOutput` | LDAPStorageProvider.`authenticate(RealmModel realm, CredentialInput cred)`
    `static LDAPQuery` | LDAPUtils.`createQueryForUserSearch(LDAPStorageProvider ldapProvider, RealmModel realm)`
    `void` | LDAPStorageProvider.`disableCredentialType(RealmModel realm, UserModel user, String credentialType)`
    `protected UserModel` | LDAPStorageProvider.`findOrCreateAuthenticatedUser(RealmModel realm, String username)` Called after successful kerberos authentication
    `Stream<String>` | LDAPStorageProvider.`getDisableableCredentialTypesStream(RealmModel realm, UserModel user)`
    `Stream<UserModel>` | LDAPStorageProvider.`getGroupMembersStream(RealmModel realm, GroupModel group)`
    `Stream<UserModel>` | LDAPStorageProvider.`getGroupMembersStream(RealmModel realm, GroupModel group, Integer firstResult, Integer maxResults)`
    `Stream<UserModel>` | LDAPStorageProvider.`getRoleMembersStream(RealmModel realm, RoleModel role)`
    `Stream<UserModel>` | LDAPStorageProvider.`getRoleMembersStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)`
    `UserModel` | LDAPStorageProvider.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | LDAPStorageProvider.`getUserById(String id, RealmModel realm)`
    `UserModel` | LDAPStorageProvider.`getUserByUsername(String username, RealmModel realm)`
    `int` | LDAPStorageProvider.`getUsersCount(RealmModel realm)`
    `Stream<UserModel>` | LDAPStorageProvider.`getUsersStream(RealmModel realm)`
    `Stream<UserModel>` | LDAPStorageProvider.`getUsersStream(RealmModel realm, int firstResult, int maxResults)`
    `protected UserModel` | LDAPStorageProvider.`importUserFromLDAP(KeycloakSession session, RealmModel realm, LDAPObject ldapUser)`
    `boolean` | LDAPStorageProvider.`isConfiguredFor(RealmModel realm, UserModel user, String credentialType)`
    `boolean` | LDAPStorageProvider.`isValid(RealmModel realm, UserModel user, CredentialInput input)`
    `protected LDAPObject` | LDAPStorageProvider.`loadAndValidateUser(RealmModel realm, UserModel local)`
    `LDAPObject` | LDAPStorageProvider.`loadLDAPUserByUsername(RealmModel realm, String username)`
    `List<UserModel>` | LDAPStorageProvider.`loadUsersByUsernames(List<String> usernames, RealmModel realm)`
    `void` | LDAPStorageProviderFactory.`onCreate(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | LDAPStorageProviderFactory.`onUpdate(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel)`
    `void` | LDAPStorageProviderFactory.`preRemove(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | LDAPStorageProvider.`preRemove(RealmModel realm)`
    `void` | LDAPStorageProvider.`preRemove(RealmModel realm, GroupModel group)`
    `void` | LDAPStorageProvider.`preRemove(RealmModel realm, RoleModel role)`
    `protected UserModel` | LDAPStorageProvider.`proxy(RealmModel realm, UserModel local, LDAPObject ldapObject, boolean newUser)`
    `protected LDAPObject` | LDAPStorageProvider.`queryByEmail(RealmModel realm, String email)`
    `boolean` | LDAPStorageProvider.`removeUser(RealmModel realm, UserModel user)`
    `Stream<UserModel>` | LDAPStorageProvider.`searchForUserByUserAttributeStream(String attrName, String attrValue, RealmModel realm)`
    `Stream<UserModel>` | LDAPStorageProvider.`searchForUserStream(Map<String,String> params, RealmModel realm)`
    `Stream<UserModel>` | LDAPStorageProvider.`searchForUserStream(Map<String,String> params, RealmModel realm, Integer firstResult, Integer maxResults)`
    `Stream<UserModel>` | LDAPStorageProvider.`searchForUserStream(String search, RealmModel realm)`
    `Stream<UserModel>` | LDAPStorageProvider.`searchForUserStream(String search, RealmModel realm, Integer firstResult, Integer maxResults)`
    `protected List<LDAPObject>` | LDAPStorageProvider.`searchLDAP(RealmModel realm, Map<String,String> attributes)`
    `boolean` | LDAPStorageProvider.`updateCredential(RealmModel realm, UserModel user, CredentialInput input)`
    `UserModel` | LDAPStorageProvider.`validate(RealmModel realm, UserModel local)`
    `void` | LDAPStorageProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`
    `boolean` | LDAPStorageProvider.`validPassword(RealmModel realm, UserModel user, String password)`

  - ### Uses of RealmModel in org.keycloak.storage.ldap.mappers

    Methods in org.keycloak.storage.ldap.mappers with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | UserAttributeLDAPStorageMapper.`checkDuplicateEmail(String userModelAttrName, String email, RealmModel realm, KeycloakSession session, UserModel user)`
    `protected void` | UserAttributeLDAPStorageMapper.`checkDuplicateUsername(String userModelAttrName, String username, RealmModel realm, KeycloakSession session, UserModel user)`
    `protected String` | HardcodedLDAPAttributeMapper.`computeAttributeValue(String ldapAttrName, String ldapAttrValue, LDAPObject ldapUser, UserModel localUser, RealmModel realm)`
    `List<ProviderConfigProperty>` | UserAttributeLDAPStorageMapperFactory.`getConfigProperties(RealmModel realm, ComponentModel parent)`
    `List<ProviderConfigProperty>` | FullNameLDAPStorageMapperFactory.`getConfigProperties(RealmModel realm, ComponentModel parent)`
    `List<ProviderConfigProperty>` | CertificateLDAPStorageMapperFactory.`getConfigProperties(RealmModel realm, ComponentModel parent)`
    `List<UserModel>` | LDAPStorageMapper.`getGroupMembers(RealmModel realm, GroupModel group, int firstResult, int maxResults)` Return empty list if doesn't support storing of groups
    `List<UserModel>` | AbstractLDAPStorageMapper.`getGroupMembers(RealmModel realm, GroupModel group, int firstResult, int maxResults)`
    `List<UserModel>` | LDAPStorageMapper.`getRoleMembers(RealmModel realm, RoleModel role, int firstResult, int maxResults)` Return empty list if doesn't support storing of roles
    `List<UserModel>` | AbstractLDAPStorageMapper.`getRoleMembers(RealmModel realm, RoleModel role, int firstResult, int maxResults)`
    `boolean` | LDAPStorageMapper.`onAuthenticationFailure(LDAPObject ldapUser, UserModel user, AuthenticationException ldapException, RealmModel realm)` Called when LDAP authentication of specified user fails.
    `boolean` | AbstractLDAPStorageMapper.`onAuthenticationFailure(LDAPObject ldapUser, UserModel user, AuthenticationException ldapException, RealmModel realm)`
    `default void` | LDAPStorageMapperFactory.`onCreate(KeycloakSession session, RealmModel realm, ComponentModel model)` Called when UserStorageProviderModel is created.
    `void` | UserAttributeLDAPStorageMapper.`onImportUserFromLDAP(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate)`
    `void` | LDAPStorageMapper.`onImportUserFromLDAP(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate)` Called when importing user from LDAP to local keycloak DB.
    `void` | HardcodedLDAPRoleStorageMapper.`onImportUserFromLDAP(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate)`
    `void` | HardcodedLDAPGroupStorageMapper.`onImportUserFromLDAP(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate)`
    `void` | HardcodedLDAPAttributeMapper.`onImportUserFromLDAP(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate)`
    `void` | HardcodedAttributeMapper.`onImportUserFromLDAP(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate)`
    `void` | FullNameLDAPStorageMapper.`onImportUserFromLDAP(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate)`
    `default void` | LDAPStorageMapperFactory.`onParentUpdate(RealmModel realm, UserStorageProviderModel oldParent, UserStorageProviderModel newParent, ComponentModel mapperModel)`
    `void` | UserAttributeLDAPStorageMapper.`onRegisterUserToLDAP(LDAPObject ldapUser, UserModel localUser, RealmModel realm)`
    `void` | LDAPStorageMapper.`onRegisterUserToLDAP(LDAPObject ldapUser, UserModel localUser, RealmModel realm)` Called when register new user to LDAP - just after user was created in Keycloak DB
    `void` | HardcodedLDAPRoleStorageMapper.`onRegisterUserToLDAP(LDAPObject ldapUser, UserModel localUser, RealmModel realm)`
    `void` | HardcodedLDAPGroupStorageMapper.`onRegisterUserToLDAP(LDAPObject ldapUser, UserModel localUser, RealmModel realm)`
    `void` | HardcodedLDAPAttributeMapper.`onRegisterUserToLDAP(LDAPObject ldapUser, UserModel localUser, RealmModel realm)`
    `void` | HardcodedAttributeMapper.`onRegisterUserToLDAP(LDAPObject ldapUser, UserModel localUser, RealmModel realm)`
    `void` | FullNameLDAPStorageMapper.`onRegisterUserToLDAP(LDAPObject ldapUser, UserModel localUser, RealmModel realm)`
    `UserModel` | UserAttributeLDAPStorageMapper.`proxy(LDAPObject ldapUser, UserModel delegate, RealmModel realm)`
    `UserModel` | LDAPStorageMapper.`proxy(LDAPObject ldapUser, UserModel delegate, RealmModel realm)` Called when invoke proxy on LDAP federation provider
    `UserModel` | HardcodedLDAPRoleStorageMapper.`proxy(LDAPObject ldapUser, UserModel delegate, RealmModel realm)`
    `UserModel` | HardcodedLDAPGroupStorageMapper.`proxy(LDAPObject ldapUser, UserModel delegate, RealmModel realm)`
    `UserModel` | HardcodedLDAPAttributeMapper.`proxy(LDAPObject ldapUser, UserModel delegate, RealmModel realm)`
    `UserModel` | HardcodedAttributeMapper.`proxy(LDAPObject ldapUser, UserModel delegate, RealmModel realm)`
    `UserModel` | FullNameLDAPStorageMapper.`proxy(LDAPObject ldapUser, UserModel delegate, RealmModel realm)`
    `SynchronizationResult` | LDAPStorageMapper.`syncDataFromFederationProviderToKeycloak(RealmModel realm)` Sync data from federated storage to Keycloak.
    `SynchronizationResult` | AbstractLDAPStorageMapper.`syncDataFromFederationProviderToKeycloak(RealmModel realm)`
    `SynchronizationResult` | LDAPStorageMapper.`syncDataFromKeycloakToFederationProvider(RealmModel realm)` Sync data from Keycloak back to federated storage
    `SynchronizationResult` | AbstractLDAPStorageMapper.`syncDataFromKeycloakToFederationProvider(RealmModel realm)`
    `void` | UserAttributeLDAPStorageMapperFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`
    `default void` | LDAPStorageMapperFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`
    `void` | HardcodedLDAPRoleStorageMapperFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`
    `void` | HardcodedLDAPGroupStorageMapperFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`
    `void` | HardcodedLDAPAttributeMapperFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`
    `void` | HardcodedAttributeMapperFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`
    `void` | FullNameLDAPStorageMapperFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`
    `void` | CertificateLDAPStorageMapperFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`

  - ### Uses of RealmModel in org.keycloak.storage.ldap.mappers.membership

    Methods in org.keycloak.storage.ldap.mappers.membership with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `abstract List<UserModel>` | MembershipType.`getGroupMembers(RealmModel realm, CommonLDAPGroupMapper groupMapper, LDAPObject ldapGroup, int firstResult, int maxResults)`

  - ### Uses of RealmModel in org.keycloak.storage.ldap.mappers.membership.group

    Methods in org.keycloak.storage.ldap.mappers.membership.group with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | GroupLDAPStorageMapper.`addGroupMappingInLDAP(RealmModel realm, GroupModel kcGroup, LDAPObject ldapUser)`
    `protected GroupModel` | GroupLDAPStorageMapper.`createKcGroup(RealmModel realm, String ldapGroupName, GroupModel parentGroup)` Creates a new KC group from given LDAP group name in given KC parent group or the groups path.
    `protected GroupModel` | GroupLDAPStorageMapper.`findKcGroupByLDAPGroup(RealmModel realm, LDAPObject ldapGroup)`
    `protected GroupModel` | GroupLDAPStorageMapper.`findKcGroupOrSyncFromLDAP(RealmModel realm, LDAPObject ldapGroup, UserModel user)`
    `protected Stream<GroupModel>` | GroupLDAPStorageMapper.`getAllKcGroups(RealmModel realm)` Provides a stream of all KC groups (with their sub groups) from groups path configured by the "Groups Path" configuration property.
    `List<ProviderConfigProperty>` | GroupLDAPStorageMapperFactory.`getConfigProperties(RealmModel realm, ComponentModel parent)`
    `List<UserModel>` | GroupLDAPStorageMapper.`getGroupMembers(RealmModel realm, GroupModel kcGroup, int firstResult, int maxResults)`
    `protected GroupModel` | GroupLDAPStorageMapper.`getKcGroupsPathGroup(RealmModel realm)` Provides KC group defined as groups path or null (top-level group) if corresponding group is not available.
    `protected Stream<GroupModel>` | GroupLDAPStorageMapper.`getKcSubGroups(RealmModel realm, GroupModel parentGroup)` Provides a list of all KC sub groups from given parent group or from groups path.
    `void` | GroupLDAPStorageMapperFactory.`onCreate(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | GroupLDAPStorageMapper.`onImportUserFromLDAP(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate)`
    `void` | GroupLDAPStorageMapperFactory.`onParentUpdate(RealmModel realm, UserStorageProviderModel oldParent, UserStorageProviderModel newParent, ComponentModel mapperModel)`
    `void` | GroupLDAPStorageMapper.`onRegisterUserToLDAP(LDAPObject ldapUser, UserModel localUser, RealmModel realm)`
    `void` | GroupLDAPStorageMapperFactory.`onUpdate(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel)`
    `UserModel` | GroupLDAPStorageMapper.`proxy(LDAPObject ldapUser, UserModel delegate, RealmModel realm)`
    `SynchronizationResult` | GroupLDAPStorageMapper.`syncDataFromFederationProviderToKeycloak(RealmModel realm)`
    `SynchronizationResult` | GroupLDAPStorageMapper.`syncDataFromKeycloakToFederationProvider(RealmModel realm)`
    `void` | GroupLDAPStorageMapperFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`

    Constructors in org.keycloak.storage.ldap.mappers.membership.group with parameters of type RealmModel
    Constructor and Description
    `LDAPGroupMappingsUserDelegate(RealmModel realm, UserModel user, LDAPObject ldapUser)`

  - ### Uses of RealmModel in org.keycloak.storage.ldap.mappers.membership.role

    Methods in org.keycloak.storage.ldap.mappers.membership.role with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `List<ProviderConfigProperty>` | RoleLDAPStorageMapperFactory.`getConfigProperties(RealmModel realm, ComponentModel parent)`
    `List<UserModel>` | RoleLDAPStorageMapper.`getRoleMembers(RealmModel realm, RoleModel role, int firstResult, int maxResults)`
    `protected RoleContainerModel` | RoleLDAPStorageMapper.`getTargetRoleContainer(RealmModel realm)`
    `void` | RoleLDAPStorageMapperFactory.`onCreate(KeycloakSession session, RealmModel realm, ComponentModel model)`
    `void` | RoleLDAPStorageMapper.`onImportUserFromLDAP(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate)`
    `void` | RoleLDAPStorageMapperFactory.`onParentUpdate(RealmModel realm, UserStorageProviderModel oldParent, UserStorageProviderModel newParent, ComponentModel mapperModel)`
    `void` | RoleLDAPStorageMapper.`onRegisterUserToLDAP(LDAPObject ldapUser, UserModel localUser, RealmModel realm)`
    `void` | RoleLDAPStorageMapperFactory.`onUpdate(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel)`
    `UserModel` | RoleLDAPStorageMapper.`proxy(LDAPObject ldapUser, UserModel delegate, RealmModel realm)`
    `SynchronizationResult` | RoleLDAPStorageMapper.`syncDataFromFederationProviderToKeycloak(RealmModel realm)`
    `SynchronizationResult` | RoleLDAPStorageMapper.`syncDataFromKeycloakToFederationProvider(RealmModel realm)`
    `void` | RoleLDAPStorageMapperFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`

    Constructors in org.keycloak.storage.ldap.mappers.membership.role with parameters of type RealmModel
    Constructor and Description
    `LDAPRoleMappingsUserDelegate(RealmModel realm, UserModel user, LDAPObject ldapUser)`

  - ### Uses of RealmModel in org.keycloak.storage.ldap.mappers.msad

    Methods in org.keycloak.storage.ldap.mappers.msad with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `List<ProviderConfigProperty>` | MSADUserAccountControlStorageMapperFactory.`getConfigProperties(RealmModel realm, ComponentModel parent)`
    `boolean` | MSADUserAccountControlStorageMapper.`onAuthenticationFailure(LDAPObject ldapUser, UserModel user, AuthenticationException ldapException, RealmModel realm)`
    `void` | MSADUserAccountControlStorageMapper.`onImportUserFromLDAP(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate)`
    `void` | MSADUserAccountControlStorageMapper.`onRegisterUserToLDAP(LDAPObject ldapUser, UserModel localUser, RealmModel realm)`
    `UserModel` | MSADUserAccountControlStorageMapper.`proxy(LDAPObject ldapUser, UserModel delegate, RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.storage.ldap.mappers.msadlds

    Methods in org.keycloak.storage.ldap.mappers.msadlds with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | MSADLDSUserAccountControlStorageMapper.`onAuthenticationFailure(LDAPObject ldapUser, UserModel user, AuthenticationException ldapException, RealmModel realm)`
    `void` | MSADLDSUserAccountControlStorageMapper.`onImportUserFromLDAP(LDAPObject ldapUser, UserModel user, RealmModel realm, boolean isCreate)`
    `void` | MSADLDSUserAccountControlStorageMapper.`onRegisterUserToLDAP(LDAPObject ldapUser, UserModel localUser, RealmModel realm)`
    `UserModel` | MSADLDSUserAccountControlStorageMapper.`proxy(LDAPObject ldapUser, UserModel delegate, RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.storage.openshift

    Methods in org.keycloak.storage.openshift with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `ClientModel` | OpenshiftClientStorageProvider.`getClientByClientId(RealmModel realm, String clientId)`
    `ClientModel` | OpenshiftClientStorageProvider.`getClientById(RealmModel realm, String id)`
    `void` | OpenshiftClientStorageProviderFactory.`onUpdate(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel)`
    `Stream<ClientModel>` | OpenshiftClientStorageProvider.`searchClientsByClientIdStream(RealmModel realm, String clientId, Integer firstResult, Integer maxResults)`
    `void` | OpenshiftClientStorageProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`

    Constructors in org.keycloak.storage.openshift with parameters of type RealmModel
    Constructor and Description
    `OpenshiftSAClientAdapter(String clientId, com.openshift.restclient.model.IResource resource, com.openshift.restclient.IClient client, KeycloakSession session, RealmModel realm, ClientStorageProviderModel component)`

  - ### Uses of RealmModel in org.keycloak.storage.role

    Methods in org.keycloak.storage.role with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RoleModel` | RoleLookupProvider.`getRealmRole(RealmModel realm, String name)` Exact search for a role by given name.
    `RoleModel` | RoleLookupProvider.`getRoleById(RealmModel realm, String id)` Exact search for a role by its internal ID..
    `default void` | RoleStorageProviderFactory.`onCreate(KeycloakSession session, RealmModel realm, ComponentModel model)` Called when RoleStorageProviderModel is created.
    `Stream<RoleModel>` | RoleLookupProvider.`searchForRolesStream(RealmModel realm, String search, Integer first, Integer max)` Case-insensitive search for roles that contain the given string in their name or description.
    `default void` | RoleStorageProviderFactory.`validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)`

  - ### Uses of RealmModel in org.keycloak.storage.user

    Methods in org.keycloak.storage.user with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `UserModel` | UserRegistrationProvider.`addUser(RealmModel realm, String username)` All storage providers that implement this interface will be looped through.
    `List<UserModel>` | UserQueryProvider.`getGroupMembers(RealmModel realm, GroupModel group)` Deprecated. Use `getGroupMembersStream` instead.
    `default List<UserModel>` | UserQueryProvider.Streams.`getGroupMembers(RealmModel realm, GroupModel group)`
    `List<UserModel>` | UserQueryProvider.`getGroupMembers(RealmModel realm, GroupModel group, int firstResult, int maxResults)` Deprecated. Use `getGroupMembersStream` instead.
    `default List<UserModel>` | UserQueryProvider.Streams.`getGroupMembers(RealmModel realm, GroupModel group, int firstResult, int maxResults)`
    `default Stream<UserModel>` | UserQueryProvider.`getGroupMembersStream(RealmModel realm, GroupModel group)` Obtains users that belong to a specific group.
    `Stream<UserModel>` | UserQueryProvider.Streams.`getGroupMembersStream(RealmModel realm, GroupModel group)`
    `default Stream<UserModel>` | UserQueryProvider.`getGroupMembersStream(RealmModel realm, GroupModel group, Integer firstResult, Integer maxResults)` Obtains users that belong to a specific group.
    `Stream<UserModel>` | UserQueryProvider.Streams.`getGroupMembersStream(RealmModel realm, GroupModel group, Integer firstResult, Integer maxResults)`
    `default List<UserModel>` | UserQueryProvider.`getRoleMembers(RealmModel realm, RoleModel role)` Deprecated. Use `getRoleMembersStream` instead.
    `default List<UserModel>` | UserQueryProvider.`getRoleMembers(RealmModel realm, RoleModel role, int firstResult, int maxResults)` Deprecated. Use `getRoleMembersStream` instead.
    `default Stream<UserModel>` | UserQueryProvider.`getRoleMembersStream(RealmModel realm, RoleModel role)` Obtains users that have the specified role.
    `default Stream<UserModel>` | UserQueryProvider.`getRoleMembersStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)` Searches for users that have the specified role.
    `UserModel` | UserLookupProvider.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | UserLookupProvider.`getUserById(String id, RealmModel realm)`
    `UserModel` | UserLookupProvider.`getUserByUsername(String username, RealmModel realm)`
    `List<UserModel>` | UserQueryProvider.`getUsers(RealmModel realm)` Deprecated. Use `getUsersStream` instead.
    `default List<UserModel>` | UserQueryProvider.Streams.`getUsers(RealmModel realm)`
    `List<UserModel>` | UserQueryProvider.`getUsers(RealmModel realm, int firstResult, int maxResults)` Deprecated. Use `getUsersStream` instead.
    `default List<UserModel>` | UserQueryProvider.Streams.`getUsers(RealmModel realm, int firstResult, int maxResults)`
    `default int` | UserQueryProvider.`getUsersCount(Map<String,String> params, RealmModel realm)` Returns the number of users that match the given filter parameters.
    `default int` | UserQueryProvider.`getUsersCount(Map<String,String> params, RealmModel realm, Set<String> groupIds)` Returns the number of users that match the given filter parameters and is in at least one of the given groups.
    `int` | UserQueryProvider.`getUsersCount(RealmModel realm)` Returns the number of users, without consider any service account.
    `default int` | UserQueryProvider.`getUsersCount(RealmModel realm, boolean includeServiceAccount)` Returns the number of users.
    `default int` | UserQueryProvider.`getUsersCount(RealmModel realm, Set<String> groupIds)` Returns the number of users that are in at least one of the groups given.
    `default int` | UserQueryProvider.`getUsersCount(String search, RealmModel realm)` Returns the number of users that match the given criteria.
    `default int` | UserQueryProvider.`getUsersCount(String search, RealmModel realm, Set<String> groupIds)` Returns the number of users that match the given criteria and are in at least one of the groups given.
    `default Stream<UserModel>` | UserQueryProvider.`getUsersStream(RealmModel realm)` Searches all users in the realm.
    `Stream<UserModel>` | UserQueryProvider.Streams.`getUsersStream(RealmModel realm)`
    `default Stream<UserModel>` | UserQueryProvider.`getUsersStream(RealmModel realm, int firstResult, int maxResults)` Searches all users in the realm, starting from the `firstResult` and containing at most `maxResults`.
    `Stream<UserModel>` | UserQueryProvider.Streams.`getUsersStream(RealmModel realm, int firstResult, int maxResults)`
    `void` | UserBulkUpdateProvider.`grantToAllUsers(RealmModel realm, RoleModel role)` Grants the given role to all users from particular realm.
    `boolean` | UserRegistrationProvider.`removeUser(RealmModel realm, UserModel user)` Called if user originated from this provider.
    `List<UserModel>` | UserQueryProvider.`searchForUser(Map<String,String> params, RealmModel realm)` Deprecated. Use `searchForUserStream` instead.
    `default List<UserModel>` | UserQueryProvider.Streams.`searchForUser(Map<String,String> params, RealmModel realm)`
    `List<UserModel>` | UserQueryProvider.`searchForUser(Map<String,String> params, RealmModel realm, int firstResult, int maxResults)` Deprecated. Use `searchForUserStream` instead.
    `default List<UserModel>` | UserQueryProvider.Streams.`searchForUser(Map<String,String> params, RealmModel realm, int firstResult, int maxResults)`
    `List<UserModel>` | UserQueryProvider.`searchForUser(String search, RealmModel realm)` Deprecated. Use `searchForUserStream` instead.
    `default List<UserModel>` | UserQueryProvider.Streams.`searchForUser(String search, RealmModel realm)`
    `List<UserModel>` | UserQueryProvider.`searchForUser(String search, RealmModel realm, int firstResult, int maxResults)` Deprecated. Use `searchForUserStream` instead.
    `default List<UserModel>` | UserQueryProvider.Streams.`searchForUser(String search, RealmModel realm, int firstResult, int maxResults)`
    `List<UserModel>` | UserQueryProvider.`searchForUserByUserAttribute(String attrName, String attrValue, RealmModel realm)` Deprecated. Use `searchForUserByUserAttributeStream` instead.
    `default List<UserModel>` | UserQueryProvider.Streams.`searchForUserByUserAttribute(String attrName, String attrValue, RealmModel realm)`
    `default Stream<UserModel>` | UserQueryProvider.`searchForUserByUserAttributeStream(String attrName, String attrValue, RealmModel realm)` Searches for users that have a specific attribute with a specific value.
    `Stream<UserModel>` | UserQueryProvider.Streams.`searchForUserByUserAttributeStream(String attrName, String attrValue, RealmModel realm)`
    `default Stream<UserModel>` | UserQueryProvider.`searchForUserStream(Map<String,String> params, RealmModel realm)` Searches for user by parameter.
    `Stream<UserModel>` | UserQueryProvider.Streams.`searchForUserStream(Map<String,String> params, RealmModel realm)`
    `default Stream<UserModel>` | UserQueryProvider.`searchForUserStream(Map<String,String> params, RealmModel realm, Integer firstResult, Integer maxResults)` Searches for user by parameter.
    `Stream<UserModel>` | UserQueryProvider.Streams.`searchForUserStream(Map<String,String> params, RealmModel realm, Integer firstResult, Integer maxResults)`
    `default Stream<UserModel>` | UserQueryProvider.`searchForUserStream(String search, RealmModel realm)` Searches for users with username, email or first + last name that is like search string.
    `Stream<UserModel>` | UserQueryProvider.Streams.`searchForUserStream(String search, RealmModel realm)`
    `default Stream<UserModel>` | UserQueryProvider.`searchForUserStream(String search, RealmModel realm, Integer firstResult, Integer maxResults)` Searches for users with username, email or first + last name that is like search string.
    `Stream<UserModel>` | UserQueryProvider.Streams.`searchForUserStream(String search, RealmModel realm, Integer firstResult, Integer maxResults)`
    `UserModel` | ImportedUserValidation.`validate(RealmModel realm, UserModel user)` If this method returns null, then the user in local storage will be removed

  - ### Uses of RealmModel in org.keycloak.theme.beans

    Constructors in org.keycloak.theme.beans with parameters of type RealmModel
    Constructor and Description
    `LocaleBean(RealmModel realm, Locale current, javax.ws.rs.core.UriBuilder uriBuilder, Properties messages)`

  - ### Uses of RealmModel in org.keycloak.userprofile.utils

    Methods in org.keycloak.userprofile.utils with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static void` | UserUpdateHelper.`updateAccount(RealmModel realm, UserModel user, UserProfile updatedProfile)`
    `static void` | UserUpdateHelper.`updateIdpReview(RealmModel realm, UserModel userModelDelegate, UserProfile updatedProfile)`
    `static void` | UserUpdateHelper.`updateRegistrationProfile(RealmModel realm, UserModel currentUser, UserProfile updatedUser)`
    `static void` | UserUpdateHelper.`updateRegistrationUserCreation(RealmModel realm, UserModel currentUser, UserProfile updatedUser)`
    `static void` | UserUpdateHelper.`updateUserProfile(RealmModel realm, UserModel user, UserProfile updatedProfile)`
    `static void` | UserUpdateHelper.`updateUserResource(RealmModel realm, UserModel user, UserProfile userRepresentationUserProfile, boolean removeExistingAttributes)`

  - ### Uses of RealmModel in org.keycloak.userprofile.validation

    Methods in org.keycloak.userprofile.validation with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static BiFunction<String,UserProfileContext,Boolean>` | StaticValidators.`isUserMutable(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.utils

    Methods in org.keycloak.utils with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | CredentialHelper.`createOTPCredential(KeycloakSession session, RealmModel realm, UserModel user, String totpCode, OTPCredentialModel credentialModel)` Create OTP credential either in userStorage or local storage (Keycloak DB)
    `static void` | CredentialHelper.`deleteOTPCredential(KeycloakSession session, RealmModel realm, UserModel user, String credentialId)`
    `static String` | TotpUtils.`qrCode(String totpSecret, RealmModel realm, UserModel user)`
    `static void` | CredentialHelper.`setAlternativeCredential(KeycloakSession session, String type, RealmModel realm)`
    `static void` | CredentialHelper.`setOrReplaceAuthenticationRequirement(KeycloakSession session, RealmModel realm, String type, AuthenticationExecutionModel.Requirement requirement, AuthenticationExecutionModel.Requirement currentRequirement)`
    `static void` | CredentialHelper.`setRequiredCredential(KeycloakSession session, String type, RealmModel realm)`

Copyright © 2021 JBoss by Red Hat. All rights reserved.