Package org.keycloak.models.map.user
Interface MapUserEntity
-
- All Superinterfaces:
AbstractEntity
,EntityWithAttributes
,UpdatableEntity
- All Known Implementing Classes:
HotRodUserEntity.AbstractHotRodUserEntityDelegate
,HotRodUserEntityDelegate
,JpaUserEntity
,JpaUserMetadata
,MapUserEntity.AbstractUserEntity
,MapUserEntityDelegate
,MapUserEntityFieldDelegate
,MapUserEntityImpl
,MapUserEntityImpl.Empty
public interface MapUserEntity extends UpdatableEntity, AbstractEntity, EntityWithAttributes
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MapUserEntity.AbstractUserEntity
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Method Summary
-
Methods inherited from interface org.keycloak.models.map.common.AbstractEntity
getId, setId
-
Methods inherited from interface org.keycloak.models.map.common.EntityWithAttributes
getAttribute, getAttributes, removeAttribute, setAttribute, setAttributes
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, isUpdated
-
-
-
-
Method Detail
-
getRealmId
String getRealmId()
-
setRealmId
void setRealmId(String realmId)
-
getUsername
String getUsername()
-
setUsername
void setUsername(String username)
-
getFirstName
String getFirstName()
-
setFirstName
void setFirstName(String firstName)
-
getCreatedTimestamp
Long getCreatedTimestamp()
-
setCreatedTimestamp
void setCreatedTimestamp(Long createdTimestamp)
-
getLastName
String getLastName()
-
setLastName
void setLastName(String lastName)
-
getEmail
String getEmail()
-
setEmail
void setEmail(String email)
-
setEmail
void setEmail(String email, boolean duplicateEmailsAllowed)
-
isEnabled
Boolean isEnabled()
-
setEnabled
void setEnabled(Boolean enabled)
-
isEmailVerified
Boolean isEmailVerified()
-
setEmailVerified
void setEmailVerified(Boolean emailVerified)
-
getEmailConstraint
String getEmailConstraint()
-
setEmailConstraint
void setEmailConstraint(String emailConstraint)
-
addRequiredAction
void addRequiredAction(String requiredAction)
-
removeRequiredAction
void removeRequiredAction(String requiredAction)
-
getCredentials
List<MapUserCredentialEntity> getCredentials()
-
getCredential
Optional<MapUserCredentialEntity> getCredential(String id)
-
setCredentials
void setCredentials(List<MapUserCredentialEntity> credentials)
-
addCredential
void addCredential(MapUserCredentialEntity credentialEntity)
-
removeCredential
Boolean removeCredential(MapUserCredentialEntity credentialEntity)
-
getFederatedIdentities
Set<MapUserFederatedIdentityEntity> getFederatedIdentities()
-
getFederatedIdentity
Optional<MapUserFederatedIdentityEntity> getFederatedIdentity(String identityProviderId)
-
setFederatedIdentities
void setFederatedIdentities(Set<MapUserFederatedIdentityEntity> federatedIdentities)
-
addFederatedIdentity
void addFederatedIdentity(MapUserFederatedIdentityEntity federatedIdentity)
-
removeFederatedIdentity
Boolean removeFederatedIdentity(MapUserFederatedIdentityEntity providerId)
-
getUserConsents
Set<MapUserConsentEntity> getUserConsents()
-
getUserConsent
Optional<MapUserConsentEntity> getUserConsent(String clientId)
-
setUserConsents
void setUserConsents(Set<MapUserConsentEntity> userConsentEntity)
-
addUserConsent
void addUserConsent(MapUserConsentEntity userConsentEntity)
-
removeUserConsent
Boolean removeUserConsent(MapUserConsentEntity userConsentEntity)
-
addGroupsMembership
void addGroupsMembership(String groupId)
-
removeGroupsMembership
void removeGroupsMembership(String groupId)
-
addRolesMembership
void addRolesMembership(String roleId)
-
removeRolesMembership
void removeRolesMembership(String roleId)
-
getFederationLink
String getFederationLink()
-
setFederationLink
void setFederationLink(String federationLink)
-
getServiceAccountClientLink
String getServiceAccountClientLink()
-
setServiceAccountClientLink
void setServiceAccountClientLink(String serviceAccountClientLink)
-
getNotBefore
Long getNotBefore()
-
setNotBefore
void setNotBefore(Long notBefore)
-
credentialManager
default MapSubjectCredentialManagerEntity credentialManager()
-
-