Class TotpBean
- java.lang.Object
-
- org.keycloak.forms.account.freemarker.model.TotpBean
-
public class TotpBean extends Object
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description TotpBean(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user, javax.ws.rs.core.UriBuilder uriBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getManualUrl()
List<org.keycloak.credential.CredentialModel>
getOtpCredentials()
org.keycloak.models.OTPPolicy
getPolicy()
String
getQrUrl()
List<String>
getSupportedApplications()
String
getTotpSecret()
String
getTotpSecretEncoded()
String
getTotpSecretQrCode()
boolean
isEnabled()
-
-
-
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 org.keycloak.models.OTPPolicy getPolicy()
-
getOtpCredentials
public List<org.keycloak.credential.CredentialModel> getOtpCredentials()
-
-