Uses of Class
org.keycloak.models.credential.OTPCredentialModel
Packages that use OTPCredentialModel
Package
Description
-
Uses of OTPCredentialModel in org.keycloak.authentication.requiredactions
Methods in org.keycloak.authentication.requiredactions with parameters of type OTPCredentialModelModifier and TypeMethodDescriptionprotected boolean
UpdateTotp.validateOTPCredential
(RequiredActionContext context, String token, OTPCredentialModel credentialModel, OTPPolicy policy) -
Uses of OTPCredentialModel in org.keycloak.credential
Methods in org.keycloak.credential that return OTPCredentialModelModifier and TypeMethodDescriptionOTPCredentialProvider.getCredentialFromModel
(CredentialModel model) Methods in org.keycloak.credential with parameters of type OTPCredentialModelModifier and TypeMethodDescriptionOTPCredentialProvider.createCredential
(RealmModel realm, UserModel user, OTPCredentialModel credentialModel) -
Uses of OTPCredentialModel in org.keycloak.models.credential
Methods in org.keycloak.models.credential that return OTPCredentialModelModifier and TypeMethodDescriptionstatic OTPCredentialModel
OTPCredentialModel.createFromCredentialModel
(CredentialModel credentialModel) static OTPCredentialModel
OTPCredentialModel.createFromPolicy
(RealmModel realm, String secretValue) static OTPCredentialModel
OTPCredentialModel.createFromPolicy
(RealmModel realm, String secretValue, String userLabel) static OTPCredentialModel
OTPCredentialModel.createHOTP
(String secretValue, int digits, int counter, String algorithm) static OTPCredentialModel
OTPCredentialModel.createTOTP
(String secretValue, int digits, int period, String algorithm) static OTPCredentialModel
OTPCredentialModel.createTOTP
(String secretValue, int digits, int period, String algorithm, String encoding) -
Uses of OTPCredentialModel in org.keycloak.models.utils
Methods in org.keycloak.models.utils with parameters of type OTPCredentialModelModifier and TypeMethodDescriptionstatic boolean
CredentialValidation.validOTP
(String token, OTPCredentialModel credentialModel, int lookAheadWindow) -
Uses of OTPCredentialModel in org.keycloak.utils
Methods in org.keycloak.utils with parameters of type OTPCredentialModelModifier and TypeMethodDescriptionstatic boolean
CredentialHelper.createOTPCredential
(KeycloakSession session, RealmModel realm, UserModel user, String totpCode, OTPCredentialModel credentialModel) Create OTP credential either in userStorage or local storage (Keycloak DB)