public static interface UserRequiredActionsFederatedStorage.Streams extends UserRequiredActionsFederatedStorage
UserRequiredActionsFederatedStorage.Streams interface makes all collection-based methods in UserRequiredActionsFederatedStorage
default 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.UserRequiredActionsFederatedStorage.Streams| Modifier and Type | Method and Description |
|---|---|
default Set<String> |
getRequiredActions(RealmModel realm,
String userId) |
Stream<String> |
getRequiredActionsStream(RealmModel realm,
String userId)
Obtains the names of required actions associated with the federated user identified by
userId. |
addRequiredAction, removeRequiredActiondefault Set<String> getRequiredActions(RealmModel realm, String userId)
getRequiredActions in interface UserRequiredActionsFederatedStorageStream<String> getRequiredActionsStream(RealmModel realm, String userId)
UserRequiredActionsFederatedStorageuserId.getRequiredActionsStream in interface UserRequiredActionsFederatedStoragerealm - a reference to the realm.userId - the user identifier.Stream of required action names.Copyright © 2022 JBoss by Red Hat. All rights reserved.