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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.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 TypeMethodDescriptionvoidaddConsent(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.booleanrevokeConsentForClient(RealmModel realm, String userId, String clientInternalId) voidupdateConsent(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
Streamof consents associated with the user.
-
updateConsent
-
revokeConsentForClient
-