Class TotpBean
- java.lang.Object
-
- org.keycloak.forms.login.freemarker.model.TotpBean
-
public class TotpBean extends Object
Used for UpdateTotp required action- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description TotpBean(KeycloakSession session, RealmModel realm, UserModel user, javax.ws.rs.core.UriBuilder uriBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetManualUrl()List<CredentialModel>getOtpCredentials()OTPPolicygetPolicy()StringgetQrUrl()List<String>getSupportedApplications()StringgetTotpSecret()StringgetTotpSecretEncoded()StringgetTotpSecretQrCode()StringgetUsername()booleanisEnabled()
-
-
-
Constructor Detail
-
TotpBean
public TotpBean(KeycloakSession session, RealmModel realm, UserModel user, javax.ws.rs.core.UriBuilder uriBuilder)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
getTotpSecret
public String getTotpSecret()
-
getTotpSecretEncoded
public String getTotpSecretEncoded()
-
getTotpSecretQrCode
public String getTotpSecretQrCode()
-
getManualUrl
public String getManualUrl()
-
getQrUrl
public String getQrUrl()
-
getPolicy
public OTPPolicy getPolicy()
-
getOtpCredentials
public List<CredentialModel> getOtpCredentials()
-
getUsername
public String getUsername()
-
-