Package org.keycloak.storage.federated
Interface UserRequiredActionsFederatedStorage.Streams
- 
- All Superinterfaces:
- UserRequiredActionsFederatedStorage
 - All Known Subinterfaces:
- UserFederatedStorageProvider.Streams
 - All Known Implementing Classes:
- JpaUserFederatedStorageProvider
 - Enclosing interface:
- UserRequiredActionsFederatedStorage
 
 public static interface UserRequiredActionsFederatedStorage.Streams extends UserRequiredActionsFederatedStorage TheUserRequiredActionsFederatedStorage.Streamsinterface makes all collection-based methods inUserRequiredActionsFederatedStoragedefault by providing implementations that delegate to theStream-based variants instead of the other way around. It allows for implementations to focus on theStream-based approach for processing sets of data and benefit from the potential memory and performance optimizations of that approach.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.keycloak.storage.federated.UserRequiredActionsFederatedStorageUserRequiredActionsFederatedStorage.Streams
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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 byuserId.- 
Methods inherited from interface org.keycloak.storage.federated.UserRequiredActionsFederatedStorageaddRequiredAction, removeRequiredAction
 
- 
 
- 
- 
- 
Method Detail- 
getRequiredActionsdefault Set<String> getRequiredActions(RealmModel realm, String userId) - Specified by:
- getRequiredActionsin interface- UserRequiredActionsFederatedStorage
 
 - 
getRequiredActionsStreamStream<String> getRequiredActionsStream(RealmModel realm, String userId) Description copied from interface:UserRequiredActionsFederatedStorageObtains the names of required actions associated with the federated user identified byuserId.- Specified by:
- getRequiredActionsStreamin interface- UserRequiredActionsFederatedStorage
- Parameters:
- realm- a reference to the realm.
- userId- the user identifier.
- Returns:
- a non-null Streamof required action names.
 
 
- 
 
-