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(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 String
getManualUrl()
List<CredentialModel>
getOtpCredentials()
OTPPolicy
getPolicy()
String
getQrUrl()
List<String>
getSupportedApplications()
String
getTotpSecret()
String
getTotpSecretEncoded()
String
getTotpSecretQrCode()
boolean
isEnabled()
-
-
-
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()
-
-