org.keycloak.account.freemarker.model

## Class TotpBean

- java.lang.Object
- - org.keycloak.account.freemarker.model.TotpBean

-     public class TotpBean
      extends Object

  Author:
    Stian Thorgersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TotpBean(UserModel user, URI baseUri)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getTotpSecret()`
    `String` | `getTotpSecretEncoded()`
    `String` | `getTotpSecretQrCodeUrl()`
    `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(UserModel user,
                  URI baseUri)

  - ### Method Detail

    - #### isEnabled

          public boolean isEnabled()

    - #### getTotpSecret

          public String getTotpSecret()

    - #### getTotpSecretEncoded

          public String getTotpSecretEncoded()

    - #### getTotpSecretQrCodeUrl

          public String getTotpSecretQrCodeUrl()
                                        throws UnsupportedEncodingException

      Throws:
        `UnsupportedEncodingException`

Copyright © 2014. All Rights Reserved.