Package org.keycloak.storage.federated
Interface UserAttributeFederatedStorage
- All Known Subinterfaces:
UserAttributeFederatedStorage.Streams,UserFederatedStorageProvider,UserFederatedStorageProvider.Streams
- All Known Implementing Classes:
JpaUserFederatedStorageProvider
public interface UserAttributeFederatedStorage
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.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 TypeMethodDescriptiongetAttributes(RealmModel realm, String userId) getUsersByUserAttributeStream(RealmModel realm, String name, String value) Searches for federated users that have an attribute with the specifiednameandvalue.voidremoveAttribute(RealmModel realm, String userId, String name) voidsetAttribute(RealmModel realm, String userId, String name, List<String> values) voidsetSingleAttribute(RealmModel realm, String userId, String name, String value)
-
Method Details
-
setSingleAttribute
-
setAttribute
-
removeAttribute
-
getAttributes
-
getUsersByUserAttributeStream
Searches for federated users that have an attribute with the specifiednameandvalue.- Parameters:
realm- a reference to the realm.name- the attribute name.value- the attribute value.- Returns:
- a non-null
Streamof user IDs that match the search criteria.
-