org.keycloak.utils

## Class TotpUtils

- java.lang.Object
- - org.keycloak.utils.TotpUtils

-     public class TotpUtils
      extends Object

  Author:
    Stian Thorgersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TotpUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `decode(String totpSecretEncoded)`
    `static String` | `encode(String totpSecret)`
    `static String` | `qrCode(String totpSecret, RealmModel realm, UserModel user)`

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

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

- - ### Constructor Detail

    - #### TotpUtils

          public TotpUtils()

  - ### Method Detail

    - #### encode

          public static String encode(String totpSecret)

    - #### decode

          public static String decode(String totpSecretEncoded)

    - #### qrCode

          public static String qrCode(String totpSecret,
                                      RealmModel realm,
                                      UserModel user)

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