public static interface UserConsentFederatedStorage.Streams extends UserConsentFederatedStorage
UserConsentFederatedStorage.Streamsinterface makes all collection-based methods in
UserConsentFederatedStoragedefault by providing implementations that delegate to the
Stream-based variants instead of the other way around. It allows for implementations to focus on the
Stream-based approach for processing sets of data and benefit from the potential memory and performance optimizations of that approach.
|Modifier and Type||Method and Description|
Obtains the consents associated with the federated user identified by
default List<UserConsentModel> getConsents(RealmModel realm, String userId)
Stream<UserConsentModel> getConsentsStream(RealmModel realm, String userId)
Copyright © 2021 JBoss by Red Hat. All rights reserved.