Class TotpLoginBean
- java.lang.Object
-
- org.keycloak.forms.login.freemarker.model.TotpLoginBean
-
public class TotpLoginBean extends Object
Used for TOTP login- Author:
- Marek Posolda
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TotpLoginBean.OTPCredential
-
Constructor Summary
Constructors Constructor Description TotpLoginBean(KeycloakSession session, RealmModel realm, UserModel user, String selectedCredentialId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSelectedCredentialId()
List<TotpLoginBean.OTPCredential>
getUserOtpCredentials()
-
-
-
Constructor Detail
-
TotpLoginBean
public TotpLoginBean(KeycloakSession session, RealmModel realm, UserModel user, String selectedCredentialId)
-
-
Method Detail
-
getUserOtpCredentials
public List<TotpLoginBean.OTPCredential> getUserOtpCredentials()
-
getSelectedCredentialId
public String getSelectedCredentialId()
-
-