## Uses of Class
org.keycloak.models.UserCredentialModel

- Packages that use UserCredentialModel
  Package | Description
  --- | ---
  org.keycloak.models |
  org.keycloak.models.credential |
  org.keycloak.models.utils |
  org.keycloak.storage.ldap.mappers |
  org.keycloak.storage.ldap.mappers.msad |
  org.keycloak.storage.ldap.mappers.msadlds |

- - ### Uses of UserCredentialModel in org.keycloak.models

    Methods in org.keycloak.models that return UserCredentialModel
    Modifier and Type | Method and Description
    --- | ---
    `static UserCredentialModel` | UserCredentialModel.`generateSecret()`
    `static UserCredentialModel` | UserCredentialModel.`hotp(String key)`
    `static UserCredentialModel` | UserCredentialModel.`kerberos(String token)`
    `static UserCredentialModel` | UserCredentialModel.`otp(String type, String key)`
    `static UserCredentialModel` | UserCredentialModel.`passwordToken(String passwordToken)` Deprecated.
    `static UserCredentialModel` | UserCredentialModel.`secret(String password)`
    `static UserCredentialModel` | UserCredentialModel.`totp(String key)`

  - ### Uses of UserCredentialModel in org.keycloak.models.credential

    Subclasses of UserCredentialModel in org.keycloak.models.credential
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PasswordUserCredentialModel` Deprecated. Recommended to use `UserCredentialModel` as it contains all the functionality required by this class

  - ### Uses of UserCredentialModel in org.keycloak.models.utils

    Methods in org.keycloak.models.utils that return UserCredentialModel
    Modifier and Type | Method and Description
    --- | ---
    `static UserCredentialModel` | KeycloakModelUtils.`generateSecret(ClientModel client)`

    Methods in org.keycloak.models.utils with parameters of type UserCredentialModel
    Modifier and Type | Method and Description
    --- | ---
    `static CredentialRepresentation` | ModelToRepresentation.`toRepresentation(UserCredentialModel cred)`

  - ### Uses of UserCredentialModel in org.keycloak.storage.ldap.mappers

    Methods in org.keycloak.storage.ldap.mappers with parameters of type UserCredentialModel
    Modifier and Type | Method and Description
    --- | ---
    `LDAPOperationDecorator` | PasswordUpdateCallback.`beforePasswordUpdate(UserModel user, LDAPObject ldapUser, UserCredentialModel password)`
    `void` | PasswordUpdateCallback.`passwordUpdated(UserModel user, LDAPObject ldapUser, UserCredentialModel password)`
    `void` | PasswordUpdateCallback.`passwordUpdateFailed(UserModel user, LDAPObject ldapUser, UserCredentialModel password, ModelException exception)`

  - ### Uses of UserCredentialModel in org.keycloak.storage.ldap.mappers.msad

    Methods in org.keycloak.storage.ldap.mappers.msad with parameters of type UserCredentialModel
    Modifier and Type | Method and Description
    --- | ---
    `LDAPOperationDecorator` | MSADUserAccountControlStorageMapper.`beforePasswordUpdate(UserModel user, LDAPObject ldapUser, UserCredentialModel password)`
    `void` | MSADUserAccountControlStorageMapper.`passwordUpdated(UserModel user, LDAPObject ldapUser, UserCredentialModel password)`
    `void` | MSADUserAccountControlStorageMapper.`passwordUpdateFailed(UserModel user, LDAPObject ldapUser, UserCredentialModel password, ModelException exception)`

  - ### Uses of UserCredentialModel in org.keycloak.storage.ldap.mappers.msadlds

    Methods in org.keycloak.storage.ldap.mappers.msadlds with parameters of type UserCredentialModel
    Modifier and Type | Method and Description
    --- | ---
    `LDAPOperationDecorator` | MSADLDSUserAccountControlStorageMapper.`beforePasswordUpdate(UserModel user, LDAPObject ldapUser, UserCredentialModel password)`
    `void` | MSADLDSUserAccountControlStorageMapper.`passwordUpdated(UserModel user, LDAPObject ldapUser, UserCredentialModel password)`
    `void` | MSADLDSUserAccountControlStorageMapper.`passwordUpdateFailed(UserModel user, LDAPObject ldapUser, UserCredentialModel password, ModelException exception)`

Copyright © 2021 JBoss by Red Hat. All rights reserved.