org.keycloak.forms.login.freemarker.model

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

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

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

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

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