org.keycloak.models.credential.dto

## Class OTPCredentialData

- java.lang.Object
- - org.keycloak.models.credential.dto.OTPCredentialData

-     public class OTPCredentialData
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OTPCredentialData(String subType, int digits, int counter, int period, String algorithm)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAlgorithm()`
    `int` | `getCounter()`
    `int` | `getDigits()`
    `int` | `getPeriod()`
    `String` | `getSubType()`
    `void` | `setCounter(int counter)`

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

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

- - ### Constructor Detail

    - #### OTPCredentialData

          public OTPCredentialData(String subType,
                                   int digits,
                                   int counter,
                                   int period,
                                   String algorithm)

  - ### Method Detail

    - #### getSubType

          public String getSubType()

    - #### getDigits

          public int getDigits()

    - #### getCounter

          public int getCounter()

    - #### setCounter

          public void setCounter(int counter)

    - #### getPeriod

          public int getPeriod()

    - #### getAlgorithm

          public String getAlgorithm()

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