public interface UserRequiredActionsFederatedStorage
Modifier and Type | Interface and Description |
---|---|
static interface |
UserRequiredActionsFederatedStorage.Streams
The
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. |
Modifier and Type | Method and Description |
---|---|
void |
addRequiredAction(RealmModel realm,
String userId,
String action) |
Set<String> |
getRequiredActions(RealmModel realm,
String userId)
Deprecated.
Use
getRequiredActionsStream instead. |
default Stream<String> |
getRequiredActionsStream(RealmModel realm,
String userId)
Obtains the names of required actions associated with the federated user identified by
userId . |
void |
removeRequiredAction(RealmModel realm,
String userId,
String action) |
@Deprecated Set<String> getRequiredActions(RealmModel realm, String userId)
getRequiredActionsStream
instead.default Stream<String> getRequiredActionsStream(RealmModel realm, String userId)
userId
.realm
- a reference to the realm.userId
- the user identifier.Stream
of required action names.void addRequiredAction(RealmModel realm, String userId, String action)
void removeRequiredAction(RealmModel realm, String userId, String action)
Copyright © 2021 JBoss by Red Hat. All rights reserved.