Interface UserAttributeFederatedStorage

All Known Subinterfaces:
UserAttributeFederatedStorage.Streams, UserFederatedStorageProvider, UserFederatedStorageProvider.Streams

public interface UserAttributeFederatedStorage
Version:
$Revision: 1 $
Author:
Bill Burke
  • Method Details

    • setSingleAttribute

      void setSingleAttribute(RealmModel realm, String userId, String name, String value)
    • setAttribute

      void setAttribute(RealmModel realm, String userId, String name, List<String> values)
    • removeAttribute

      void removeAttribute(RealmModel realm, String userId, String name)
    • getAttributes

      org.keycloak.common.util.MultivaluedHashMap<String,String> getAttributes(RealmModel realm, String userId)
    • getUsersByUserAttributeStream

      Stream<String> getUsersByUserAttributeStream(RealmModel realm, String name, String value)
      Searches for federated users that have an attribute with the specified name and value.
      Parameters:
      realm - a reference to the realm.
      name - the attribute name.
      value - the attribute value.
      Returns:
      a non-null Stream of user IDs that match the search criteria.