| Package | Description |
|---|---|
| org.keycloak.models | |
| org.keycloak.storage.federated |
| Modifier and Type | Method and Description |
|---|---|
UserConsentModel |
UserProvider.getConsentByClient(RealmModel realm,
String userId,
String clientInternalId)
Returns UserConsentModel given by a user with the userId for the client with clientInternalId
|
| Modifier and Type | Method and Description |
|---|---|
List<UserConsentModel> |
UserProvider.getConsents(RealmModel realm,
String userId)
Deprecated.
Use
getConsentsStream instead. |
default List<UserConsentModel> |
UserProvider.Streams.getConsents(RealmModel realm,
String userId) |
default Stream<UserConsentModel> |
UserProvider.getConsentsStream(RealmModel realm,
String userId)
Obtains the consents associated with the user identified by the specified
userId. |
Stream<UserConsentModel> |
UserProvider.Streams.getConsentsStream(RealmModel realm,
String userId) |
| Modifier and Type | Method and Description |
|---|---|
void |
UserProvider.addConsent(RealmModel realm,
String userId,
UserConsentModel consent)
Add user consent for the user.
|
void |
UserProvider.updateConsent(RealmModel realm,
String userId,
UserConsentModel consent)
Update client scopes in the stored user consent
|
| Modifier and Type | Method and Description |
|---|---|
UserConsentModel |
UserConsentFederatedStorage.getConsentByClient(RealmModel realm,
String userId,
String clientInternalId) |
| Modifier and Type | Method and Description |
|---|---|
List<UserConsentModel> |
UserConsentFederatedStorage.getConsents(RealmModel realm,
String userId)
Deprecated.
Use
getConsentsStream instead. |
default List<UserConsentModel> |
UserConsentFederatedStorage.Streams.getConsents(RealmModel realm,
String userId) |
default Stream<UserConsentModel> |
UserConsentFederatedStorage.getConsentsStream(RealmModel realm,
String userId)
Obtains the consents associated with the federated user identified by
userId. |
Stream<UserConsentModel> |
UserConsentFederatedStorage.Streams.getConsentsStream(RealmModel realm,
String userId) |
| Modifier and Type | Method and Description |
|---|---|
void |
UserConsentFederatedStorage.addConsent(RealmModel realm,
String userId,
UserConsentModel consent) |
void |
UserConsentFederatedStorage.updateConsent(RealmModel realm,
String userId,
UserConsentModel consent) |
Copyright © 2022 JBoss by Red Hat. All rights reserved.