Package org.keycloak.storage.federated
Interface UserFederatedStorageProvider
- All Superinterfaces:
Provider
,UserAttributeFederatedStorage
,UserBrokerLinkFederatedStorage
,UserConsentFederatedStorage
,UserFederatedUserCredentialStore
,UserGroupMembershipFederatedStorage
,UserNotBeforeFederatedStorage
,UserRequiredActionsFederatedStorage
,UserRoleMappingsFederatedStorage
- All Known Subinterfaces:
UserFederatedStorageProvider.Streams
- All Known Implementing Classes:
JpaUserFederatedStorageProvider
public interface UserFederatedStorageProvider
extends Provider, UserAttributeFederatedStorage, UserBrokerLinkFederatedStorage, UserConsentFederatedStorage, UserNotBeforeFederatedStorage, UserGroupMembershipFederatedStorage, UserRequiredActionsFederatedStorage, UserRoleMappingsFederatedStorage, UserFederatedUserCredentialStore
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Deprecated.This interface is no longer necessary; collection-based methods were removed from the parent interface and therefore the parent interface can be used directly -
Method Summary
Modifier and TypeMethodDescriptionint
getStoredUsersCount
(RealmModel realm) getStoredUsersStream
(RealmModel realm, Integer first, Integer max) Obtains the ids of all federated users in the realm.void
preRemove
(ClientScopeModel clientScope) void
preRemove
(ProtocolMapperModel protocolMapper) void
preRemove
(RealmModel realm) void
preRemove
(RealmModel realm, ComponentModel model) void
preRemove
(RealmModel realm, ClientModel client) void
preRemove
(RealmModel realm, GroupModel group) void
preRemove
(RealmModel realm, RoleModel role) void
preRemove
(RealmModel realm, UserModel user) Methods inherited from interface org.keycloak.storage.federated.UserAttributeFederatedStorage
getAttributes, getUsersByUserAttributeStream, removeAttribute, setAttribute, setSingleAttribute
Methods inherited from interface org.keycloak.storage.federated.UserBrokerLinkFederatedStorage
addFederatedIdentity, getFederatedIdentitiesStream, getFederatedIdentity, getUserByFederatedIdentity, preRemove, removeFederatedIdentity, updateFederatedIdentity
Methods inherited from interface org.keycloak.storage.federated.UserConsentFederatedStorage
addConsent, getConsentByClient, getConsentsStream, revokeConsentForClient, updateConsent
Methods inherited from interface org.keycloak.storage.federated.UserFederatedUserCredentialStore
createCredential, getStoredCredentialById, getStoredCredentialByNameAndType, getStoredCredentialsByTypeStream, getStoredCredentialsStream, removeStoredCredential, updateCredential
Methods inherited from interface org.keycloak.storage.federated.UserGroupMembershipFederatedStorage
getGroupsStream, getMembershipStream, joinGroup, leaveGroup
Methods inherited from interface org.keycloak.storage.federated.UserNotBeforeFederatedStorage
getNotBeforeOfUser, setNotBeforeForUser
Methods inherited from interface org.keycloak.storage.federated.UserRequiredActionsFederatedStorage
addRequiredAction, getRequiredActionsStream, removeRequiredAction
Methods inherited from interface org.keycloak.storage.federated.UserRoleMappingsFederatedStorage
deleteRoleMapping, getRoleMappingsStream, getRoleMembersStream, grantRole
-
Method Details
-
getStoredUsersStream
Obtains the ids of all federated users in the realm.- Parameters:
realm
- a reference to the realm.first
- first result to return. Ignored if negative ornull
.max
- maximum number of results to return. Ignored if negative ornull
.- Returns:
- a non-null
Stream
of federated user ids.
-
getStoredUsersCount
-
preRemove
-
preRemove
-
preRemove
-
preRemove
-
preRemove
-
preRemove
-
preRemove
-
preRemove
-