Uses of Class
org.keycloak.credential.CredentialModel
Package
Description
-
Uses of CredentialModel in org.keycloak.authentication
Modifier and TypeMethodDescriptiondefault List<CredentialModel>
CredentialValidator.getCredentials
(KeycloakSession session, RealmModel realm, UserModel user) -
Uses of CredentialModel in org.keycloak.authentication.requiredactions.util
Modifier and TypeMethodDescriptionstatic CredentialModel
CredentialDeleteHelper.removeCredential
(KeycloakSession session, UserModel user, String credentialId, Supplier<Integer> currentLoAProvider) Removing credential of given ID of specified user. -
Uses of CredentialModel in org.keycloak.credential
Modifier and TypeMethodDescriptionCredentialProvider.createCredential
(RealmModel realm, UserModel user, T credentialModel) OTPCredentialProvider.createCredential
(RealmModel realm, UserModel user, OTPCredentialModel credentialModel) PasswordCredentialProvider.createCredential
(RealmModel realm, UserModel user, PasswordCredentialModel credentialModel) RecoveryAuthnCodesCredentialProvider.createCredential
(RealmModel realm, UserModel user, RecoveryAuthnCodesCredentialModel credentialModel) UserCredentialStore.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) WebAuthnCredentialProvider.createCredential
(RealmModel realm, UserModel user, WebAuthnCredentialModel credentialModel) UserCredentialManager.createCredentialThroughProvider
(CredentialModel model) UserCredentialManager.createStoredCredential
(CredentialModel cred) CredentialMetadata.getCredentialModel()
UserCredentialManager.getStoredCredentialById
(String id) UserCredentialStore.getStoredCredentialById
(RealmModel realm, UserModel user, String id) UserCredentialManager.getStoredCredentialByNameAndType
(String name, String type) UserCredentialStore.getStoredCredentialByNameAndType
(RealmModel realm, UserModel user, String name, String type) CredentialModel.shallowClone()
Modifier and TypeMethodDescriptionstatic Comparator<CredentialModel>
CredentialModel.comparingByStartDateDesc()
UserCredentialManager.getStoredCredentialsByTypeStream
(String type) UserCredentialStore.getStoredCredentialsByTypeStream
(RealmModel realm, UserModel user, String type) Obtains the stored credentials associated with the specified user that match the specified type.UserCredentialManager.getStoredCredentialsStream()
UserCredentialStore.getStoredCredentialsStream
(RealmModel realm, UserModel user) Obtains the stored credentials associated with the specified user.Modifier and TypeMethodDescriptionUserCredentialStore.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) UserCredentialManager.createCredentialThroughProvider
(CredentialModel model) UserCredentialManager.createStoredCredential
(CredentialModel cred) CredentialProvider.getCredentialFromModel
(CredentialModel model) OTPCredentialProvider.getCredentialFromModel
(CredentialModel model) PasswordCredentialProvider.getCredentialFromModel
(CredentialModel model) RecoveryAuthnCodesCredentialProvider.getCredentialFromModel
(CredentialModel model) WebAuthnCredentialProvider.getCredentialFromModel
(CredentialModel model) void
CredentialMetadata.setCredentialModel
(CredentialModel credentialModel) void
UserCredentialStore.updateCredential
(RealmModel realm, UserModel user, CredentialModel cred) void
UserCredentialManager.updateStoredCredential
(CredentialModel cred) -
Uses of CredentialModel in org.keycloak.credential.hash
Modifier and TypeMethodDescriptiondefault void
PasswordHashProvider.encode
(String rawPassword, int iterations, CredentialModel credential) Deprecated.Exists due the backwards compatibility.default boolean
PasswordHashProvider.policyCheck
(PasswordPolicy policy, CredentialModel credential) Deprecated.Exists due the backwards compatibility.default boolean
PasswordHashProvider.verify
(String rawPassword, CredentialModel credential) Deprecated.Exists due the backwards compatibility. -
Uses of CredentialModel in org.keycloak.exportimport.util
Modifier and TypeMethodDescriptionstatic CredentialRepresentation
ExportUtils.exportCredential
(CredentialModel userCred) -
Uses of CredentialModel in org.keycloak.forms.login.freemarker.model
-
Uses of CredentialModel in org.keycloak.models
Modifier and TypeMethodDescriptionSubjectCredentialManager.createCredentialThroughProvider
(CredentialModel model) Deprecated.SubjectCredentialManager.createStoredCredential
(CredentialModel cred) Updates a credential of the entity with an updatedCredentialModel
.SubjectCredentialManager.getStoredCredentialById
(String id) Read a stored credential.SubjectCredentialManager.getStoredCredentialByNameAndType
(String name, String type) Modifier and TypeMethodDescriptionSubjectCredentialManager.getStoredCredentialsByTypeStream
(String type) Read stored credentials by type as a stream.SubjectCredentialManager.getStoredCredentialsStream()
Read stored credentials as a stream.Modifier and TypeMethodDescriptionSubjectCredentialManager.createCredentialThroughProvider
(CredentialModel model) Deprecated.SubjectCredentialManager.createStoredCredential
(CredentialModel cred) Updates a credential of the entity with an updatedCredentialModel
.void
SubjectCredentialManager.updateStoredCredential
(CredentialModel cred) Updates a credential of the entity with an updatedCredentialModel
. -
Uses of CredentialModel in org.keycloak.models.cache.infinispan
Modifier and TypeMethodDescriptionSubjectCredentialManagerCacheAdapter.createCredentialThroughProvider
(CredentialModel model) SubjectCredentialManagerCacheAdapter.createStoredCredential
(CredentialModel cred) Modifier and TypeMethodDescriptionSubjectCredentialManagerCacheAdapter.createCredentialThroughProvider
(CredentialModel model) SubjectCredentialManagerCacheAdapter.createStoredCredential
(CredentialModel cred) void
SubjectCredentialManagerCacheAdapter.updateStoredCredential
(CredentialModel cred) -
Uses of CredentialModel in org.keycloak.models.cache.infinispan.entities
-
Uses of CredentialModel in org.keycloak.models.credential
Modifier and TypeClassDescriptionclass
class
class
class
Modifier and TypeMethodDescriptionstatic OTPCredentialModel
OTPCredentialModel.createFromCredentialModel
(CredentialModel credentialModel) static PasswordCredentialModel
PasswordCredentialModel.createFromCredentialModel
(CredentialModel credentialModel) RecoveryAuthnCodesCredentialModel.createFromCredentialModel
(CredentialModel credentialModel) static WebAuthnCredentialModel
WebAuthnCredentialModel.createFromCredentialModel
(CredentialModel credentialModel) -
Uses of CredentialModel in org.keycloak.models.jpa
Modifier and TypeMethodDescriptionJpaUserCredentialStore.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) JpaUserProvider.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) JpaUserCredentialStore.getStoredCredentialById
(RealmModel realm, UserModel user, String id) JpaUserProvider.getStoredCredentialById
(RealmModel realm, UserModel user, String id) JpaUserCredentialStore.getStoredCredentialByNameAndType
(RealmModel realm, UserModel user, String name, String type) JpaUserProvider.getStoredCredentialByNameAndType
(RealmModel realm, UserModel user, String name, String type) protected CredentialModel
JpaUserProvider.toModel
(CredentialEntity entity) Modifier and TypeMethodDescriptionJpaUserCredentialStore.getStoredCredentialsByTypeStream
(RealmModel realm, UserModel user, String type) JpaUserProvider.getStoredCredentialsByTypeStream
(RealmModel realm, UserModel user, String type) JpaUserCredentialStore.getStoredCredentialsStream
(RealmModel realm, UserModel user) JpaUserProvider.getStoredCredentialsStream
(RealmModel realm, UserModel user) Modifier and TypeMethodDescriptionJpaUserCredentialStore.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) JpaUserProvider.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) void
JpaUserCredentialStore.updateCredential
(RealmModel realm, UserModel user, CredentialModel cred) void
JpaUserProvider.updateCredential
(RealmModel realm, UserModel user, CredentialModel cred) -
Uses of CredentialModel in org.keycloak.models.utils
Modifier and TypeMethodDescriptionstatic CredentialModel
RepresentationToModel.toModel
(CredentialRepresentation cred) Modifier and TypeMethodDescriptionstatic CredentialRepresentation
ModelToRepresentation.toRepresentation
(CredentialModel cred) -
Uses of CredentialModel in org.keycloak.storage.federated
Modifier and TypeMethodDescriptionUserFederatedUserCredentialStore.createCredential
(RealmModel realm, String userId, CredentialModel cred) UserFederatedUserCredentialStore.getStoredCredentialById
(RealmModel realm, String userId, String id) UserFederatedUserCredentialStore.getStoredCredentialByNameAndType
(RealmModel realm, String userId, String name, String type) Modifier and TypeMethodDescriptionUserFederatedUserCredentialStore.getStoredCredentialsByTypeStream
(RealmModel realm, String userId, String type) Obtains the credentials of typetype
that are associated with the federated user identified byuserId
.UserFederatedUserCredentialStore.getStoredCredentialsStream
(RealmModel realm, String userId) Obtains the credentials associated with the federated user identified byuserId
.Modifier and TypeMethodDescriptionUserFederatedUserCredentialStore.createCredential
(RealmModel realm, String userId, CredentialModel cred) void
UserFederatedUserCredentialStore.updateCredential
(RealmModel realm, String userId, CredentialModel cred) -
Uses of CredentialModel in org.keycloak.storage.jpa
Modifier and TypeMethodDescriptionJpaUserFederatedStorageProvider.createCredential
(RealmModel realm, String userId, CredentialModel cred) JpaUserFederatedStorageProvider.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) JpaUserFederatedStorageProvider.getStoredCredentialById
(RealmModel realm, String userId, String id) JpaUserFederatedStorageProvider.getStoredCredentialById
(RealmModel realm, UserModel user, String id) JpaUserFederatedStorageProvider.getStoredCredentialByNameAndType
(RealmModel realm, String userId, String name, String type) JpaUserFederatedStorageProvider.getStoredCredentialByNameAndType
(RealmModel realm, UserModel user, String name, String type) protected CredentialModel
JpaUserFederatedStorageProvider.toModel
(FederatedUserCredentialEntity entity) Modifier and TypeMethodDescriptionJpaUserFederatedStorageProvider.getStoredCredentialsByTypeStream
(RealmModel realm, String userId, String type) JpaUserFederatedStorageProvider.getStoredCredentialsByTypeStream
(RealmModel realm, UserModel user, String type) JpaUserFederatedStorageProvider.getStoredCredentialsStream
(RealmModel realm, String userId) JpaUserFederatedStorageProvider.getStoredCredentialsStream
(RealmModel realm, UserModel user) Modifier and TypeMethodDescriptionJpaUserFederatedStorageProvider.createCredential
(RealmModel realm, String userId, CredentialModel cred) JpaUserFederatedStorageProvider.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) void
JpaUserFederatedStorageProvider.updateCredential
(RealmModel realm, String userId, CredentialModel cred) void
JpaUserFederatedStorageProvider.updateCredential
(RealmModel realm, UserModel user, CredentialModel cred)