Uses of Interface
org.keycloak.models.OrganizationModel
Package
Description
-
Uses of OrganizationModel in org.keycloak.email
Modifier and TypeMethodDescriptionvoid
EmailTemplateProvider.sendOrgInviteEmail
(OrganizationModel organization, String link, long expirationInMinutes) -
Uses of OrganizationModel in org.keycloak.email.freemarker
Modifier and TypeMethodDescriptionvoid
FreeMarkerEmailTemplateProvider.sendOrgInviteEmail
(OrganizationModel organization, String link, long expirationInMinutes) -
Uses of OrganizationModel in org.keycloak.forms.login.freemarker.model
-
Uses of OrganizationModel in org.keycloak.models
Modifier and TypeMethodDescriptionKeycloakContext.getOrganization()
OrganizationModel.OrganizationMembershipEvent.getOrganization()
Modifier and TypeMethodDescriptionstatic void
OrganizationModel.OrganizationMemberJoinEvent.fire
(OrganizationModel organization, UserModel user, KeycloakSession session) static void
OrganizationModel.OrganizationMemberLeaveEvent.fire
(OrganizationModel organization, UserModel user, KeycloakSession session) void
KeycloakContext.setOrganization
(OrganizationModel organization) -
Uses of OrganizationModel in org.keycloak.models.cache.infinispan.organization
Modifier and TypeMethodDescriptionInfinispanOrganizationProvider.getByDomainName
(String domainName) Modifier and TypeMethodDescriptionInfinispanOrganizationProvider.getAllStream
(String search, Boolean exact, Integer first, Integer max) InfinispanOrganizationProvider.getAllStream
(Map<String, String> attributes, Integer first, Integer max) InfinispanOrganizationProvider.getByMember
(UserModel member) Modifier and TypeMethodDescriptionboolean
InfinispanOrganizationProvider.addIdentityProvider
(OrganizationModel organization, IdentityProviderModel identityProvider) boolean
InfinispanOrganizationProvider.addManagedMember
(OrganizationModel organization, UserModel user) boolean
InfinispanOrganizationProvider.addMember
(OrganizationModel organization, UserModel user) static String
InfinispanOrganizationProvider.cacheKeyOrgMemberCount
(RealmModel realm, OrganizationModel organization) InfinispanOrganizationProvider.getIdentityProviders
(OrganizationModel organization) InfinispanOrganizationProvider.getMemberById
(OrganizationModel organization, String id) long
InfinispanOrganizationProvider.getMembersCount
(OrganizationModel organization) InfinispanOrganizationProvider.getMembersStream
(OrganizationModel organization, String search, Boolean exact, Integer first, Integer max) InfinispanOrganizationProvider.getMembersStream
(OrganizationModel organization, Map<String, String> filters, Boolean exact, Integer first, Integer max) boolean
InfinispanOrganizationProvider.isManagedMember
(OrganizationModel organization, UserModel user) boolean
InfinispanOrganizationProvider.remove
(OrganizationModel organization) boolean
InfinispanOrganizationProvider.removeIdentityProvider
(OrganizationModel organization, IdentityProviderModel identityProvider) boolean
InfinispanOrganizationProvider.removeMember
(OrganizationModel organization, UserModel member) Modifier and TypeMethodDescriptionCachedOrganization.getAttributes
(Supplier<OrganizationModel> organizationModel) ModifierConstructorDescriptionCachedOrganization
(Long revision, RealmModel realm, OrganizationModel organization) CachedOrganizationIds
(Long revision, String id, RealmModel realm, OrganizationModel model) ModifierConstructorDescriptionCachedOrganizationIds
(Long revision, String id, RealmModel realm, Stream<OrganizationModel> models) -
Uses of OrganizationModel in org.keycloak.models.utils
Modifier and TypeMethodDescriptionstatic OrganizationModel
RepresentationToModel.toModel
(OrganizationRepresentation rep, OrganizationModel model) Modifier and TypeMethodDescriptionstatic OrganizationRepresentation
ModelToRepresentation.toBriefRepresentation
(OrganizationModel model, Boolean briefRepresentation) static OrganizationModel
RepresentationToModel.toModel
(OrganizationRepresentation rep, OrganizationModel model) static OrganizationRepresentation
ModelToRepresentation.toRepresentation
(OrganizationModel model) -
Uses of OrganizationModel in org.keycloak.organization
Modifier and TypeMethodDescriptiondefault OrganizationModel
Creates a new organization with givenname
andalias
to the realm.Creates a new organization with givenid
,name
, andalias
to the realmdefault OrganizationModel
OrganizationProvider.getByAlias
(String alias) Returns anOrganizationModel
with the givenalias
.OrganizationProvider.getByDomainName
(String domainName) Returns aOrganizationModel
by its internet domain.Returns aOrganizationModel
by itsid
;Modifier and TypeMethodDescriptiondefault Stream<OrganizationModel>
OrganizationProvider.getAllStream()
Returns all organizations in the realm.OrganizationProvider.getAllStream
(String search, Boolean exact, Integer first, Integer max) Returns all organizations in the realm filtered according to the specified parameters.Returns all organizations in the realm filtered according to the specified parameters.OrganizationProvider.getByMember
(UserModel member) Returns theOrganizationModel
that themember
belongs to.Modifier and TypeMethodDescriptionboolean
OrganizationProvider.addIdentityProvider
(OrganizationModel organization, IdentityProviderModel identityProvider) Associate the givenIdentityProviderModel
with the givenOrganizationModel
.boolean
OrganizationProvider.addManagedMember
(OrganizationModel organization, UserModel user) Adds the givenUserModel
as a managed member of the givenOrganizationModel
.boolean
OrganizationProvider.addMember
(OrganizationModel organization, UserModel user) Adds the givenUserModel
as an unmanaged member of the givenOrganizationModel
.OrganizationProvider.getIdentityProviders
(OrganizationModel organization) OrganizationProvider.getMemberById
(OrganizationModel organization, String id) Returns the member of theOrganizationModel
by itsid
.long
OrganizationProvider.getMembersCount
(OrganizationModel organization) Returns number of members in the organization.OrganizationProvider.getMembersStream
(OrganizationModel organization, String search, Boolean exact, Integer first, Integer max) Deprecated, for removal: This API element is subject to removal in a future version.OrganizationProvider.getMembersStream
(OrganizationModel organization, Map<String, String> filters, Boolean exact, Integer first, Integer max) Returns the members of a givenOrganizationModel
filtered according to the specifiedfilters
.boolean
OrganizationProvider.isManagedMember
(OrganizationModel organization, UserModel member) Indicates if the givenmember
is managed by the organization.default boolean
OrganizationProvider.isMember
(OrganizationModel organization, UserModel user) Indicates if the givenuser
is a member of the givenorganization
.boolean
OrganizationProvider.remove
(OrganizationModel organization) Removes the given organization from the realm together with the data associated with it, e.g.boolean
OrganizationProvider.removeIdentityProvider
(OrganizationModel organization, IdentityProviderModel identityProvider) Removes the link between the givenOrganizationModel
and the identity provider associated with it if such a link exists.boolean
OrganizationProvider.removeMember
(OrganizationModel organization, UserModel member) Removes a member from the organization. -
Uses of OrganizationModel in org.keycloak.organization.admin.resource
ModifierConstructorDescriptionOrganizationIdentityProvidersResource
(KeycloakSession session, OrganizationModel organization, AdminEventBuilder adminEvent) OrganizationInvitationResource
(KeycloakSession session, OrganizationModel organization, AdminEventBuilder adminEvent) OrganizationMemberResource
(KeycloakSession session, OrganizationModel organization, AdminEventBuilder adminEvent) OrganizationResource
(KeycloakSession session, OrganizationModel organization, AdminEventBuilder adminEvent) -
Uses of OrganizationModel in org.keycloak.organization.jpa
Modifier and TypeMethodDescriptionJpaOrganizationProvider.getAllStream
(String search, Boolean exact, Integer first, Integer max) JpaOrganizationProvider.getByMember
(UserModel member) Modifier and TypeMethodDescriptionboolean
JpaOrganizationProvider.addIdentityProvider
(OrganizationModel organization, IdentityProviderModel identityProvider) boolean
JpaOrganizationProvider.addManagedMember
(OrganizationModel organization, UserModel user) boolean
JpaOrganizationProvider.addMember
(OrganizationModel organization, UserModel user) JpaOrganizationProvider.getIdentityProviders
(OrganizationModel organization) JpaOrganizationProvider.getMemberById
(OrganizationModel organization, String id) long
JpaOrganizationProvider.getMembersCount
(OrganizationModel organization) JpaOrganizationProvider.getMembersStream
(OrganizationModel organization, String search, Boolean exact, Integer first, Integer max) JpaOrganizationProvider.getMembersStream
(OrganizationModel organization, Map<String, String> filters, Boolean exact, Integer first, Integer max) boolean
JpaOrganizationProvider.isManagedMember
(OrganizationModel organization, UserModel member) boolean
JpaOrganizationProvider.remove
(OrganizationModel organization) boolean
JpaOrganizationProvider.removeIdentityProvider
(OrganizationModel organization, IdentityProviderModel identityProvider) boolean
JpaOrganizationProvider.removeMember
(OrganizationModel organization, UserModel member) -
Uses of OrganizationModel in org.keycloak.organization.protocol.mappers.oidc
Modifier and TypeMethodDescriptionOrganizationScope.resolveOrganizations
(UserModel user, String scope, KeycloakSession session) Returns the organizations mapped from thescope
based on the givenuser
. -
Uses of OrganizationModel in org.keycloak.organization.utils
Modifier and TypeMethodDescriptionstatic OrganizationModel
Organizations.resolveOrganization
(KeycloakSession session) static OrganizationModel
Organizations.resolveOrganization
(KeycloakSession session, UserModel user) static OrganizationModel
Organizations.resolveOrganization
(KeycloakSession session, UserModel user, String domain) -
Uses of OrganizationModel in org.keycloak.services
Modifier and TypeMethodDescriptionvoid
DefaultKeycloakContext.setOrganization
(OrganizationModel organization)
OrganizationProvider.getMembersStream(OrganizationModel, Map, Boolean, Integer, Integer)
instead.