TotpGenerator

uk.gov.hmrc.totp.TotpGenerator
object TotpGenerator extends Totp, App

Attributes

Graph
Supertypes
trait App
trait DelayedInit
trait Totp
trait TotpSha512
trait HmacShaTotp
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Inherited methods

final protected def args: Array[String]

Attributes

Inherited from:
App
final def getTotp(secret: String, totpGenerationTimeInMillis: Long): String

Attributes

Inherited from:
HmacShaTotp
final def getTotpCode(secret: String): String

Attributes

Inherited from:
HmacShaTotp
final def main(args: Array[String]): Unit

Attributes

Inherited from:
App

Deprecated and Inherited methods

override def delayedInit(body: => Unit): Unit

Attributes

Deprecated
[Since version 2.11.0] the delayedInit mechanism will disappear
Definition Classes
App -> DelayedInit
Inherited from:
App

Inherited fields

final override val codeLength: 8

Attributes

Inherited from:
TotpSha512
final override val crypto: HmacSHA512.type

Attributes

Inherited from:
TotpSha512
final override val totpTimeInterval: FiniteDuration

Attributes

Inherited from:
TotpSha512