Package org.keycloak.storage.federated
Interface UserBrokerLinkFederatedStorage
- All Known Subinterfaces:
UserBrokerLinkFederatedStorage.Streams
,UserFederatedStorageProvider
,UserFederatedStorageProvider.Streams
- All Known Implementing Classes:
JpaUserFederatedStorageProvider
public interface UserBrokerLinkFederatedStorage
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Deprecated.This interface is no longer necessary; collection-based methods were removed from the parent interface and therefore the parent interface can be used directly -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFederatedIdentity
(RealmModel realm, String userId, FederatedIdentityModel socialLink) getFederatedIdentitiesStream
(String userId, RealmModel realm) Obtains the identities of the federated user identified byuserId
.getFederatedIdentity
(String userId, String socialProvider, RealmModel realm) getUserByFederatedIdentity
(FederatedIdentityModel socialLink, RealmModel realm) void
preRemove
(RealmModel realm, IdentityProviderModel provider) boolean
removeFederatedIdentity
(RealmModel realm, String userId, String socialProvider) void
updateFederatedIdentity
(RealmModel realm, String userId, FederatedIdentityModel federatedIdentityModel)
-
Method Details
-
getUserByFederatedIdentity
-
addFederatedIdentity
-
removeFederatedIdentity
-
preRemove
-
updateFederatedIdentity
void updateFederatedIdentity(RealmModel realm, String userId, FederatedIdentityModel federatedIdentityModel) -
getFederatedIdentitiesStream
Obtains the identities of the federated user identified byuserId
.- Parameters:
userId
- the user identifier.realm
- a reference to the realm.- Returns:
- a non-null
Stream
of federated identities associated with the user.
-
getFederatedIdentity
-