Class TotpBean
java.lang.Object
org.keycloak.forms.login.freemarker.model.TotpBean
Used for UpdateTotp required action
- Author:
- Stian Thorgersen
-
Constructor Summary
ConstructorDescriptionTotpBean
(KeycloakSession session, RealmModel realm, UserModel user, jakarta.ws.rs.core.UriBuilder uriBuilder) TotpBean
(KeycloakSession session, RealmModel realm, UserModel user, jakarta.ws.rs.core.UriBuilder uriBuilder, String secret) -
Method Summary
-
Constructor Details
-
TotpBean
public TotpBean(KeycloakSession session, RealmModel realm, UserModel user, jakarta.ws.rs.core.UriBuilder uriBuilder) -
TotpBean
public TotpBean(KeycloakSession session, RealmModel realm, UserModel user, jakarta.ws.rs.core.UriBuilder uriBuilder, String secret)
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
getTotpSecret
-
getTotpSecretEncoded
-
getTotpSecretQrCode
-
getManualUrl
-
getQrUrl
-
getPolicy
-
getSupportedApplications
-
getOtpCredentials
-
getUsername
-