Package org.keycloak.storage.federated
Interface UserConsentFederatedStorage
- All Known Subinterfaces:
UserConsentFederatedStorage.Streams
,UserFederatedStorageProvider
,UserFederatedStorageProvider.Streams
- All Known Implementing Classes:
JpaUserFederatedStorageProvider
public interface UserConsentFederatedStorage
- 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
addConsent
(RealmModel realm, String userId, UserConsentModel consent) getConsentByClient
(RealmModel realm, String userId, String clientInternalId) getConsentsStream
(RealmModel realm, String userId) Obtains the consents associated with the federated user identified byuserId
.boolean
revokeConsentForClient
(RealmModel realm, String userId, String clientInternalId) void
updateConsent
(RealmModel realm, String userId, UserConsentModel consent)
-
Method Details
-
addConsent
-
getConsentByClient
-
getConsentsStream
Obtains the consents associated with the federated user identified byuserId
.- Parameters:
realm
- a reference to the realm.userId
- the user identifier.- Returns:
- a non-null
Stream
of consents associated with the user.
-
updateConsent
-
revokeConsentForClient
-