org.keycloak.forms.login.freemarker.model

## 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 and Description
    --- | ---
    `static class` | `TotpLoginBean.OTPCredential`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TotpLoginBean(KeycloakSession session, RealmModel realm, UserModel user, String selectedCredentialId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getSelectedCredentialId()`
    `List<TotpLoginBean.OTPCredential>` | `getUserOtpCredentials()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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()

Copyright © 2020 JBoss by Red Hat. All rights reserved.