Oath Token Code
Represents a currently active OTP token.
Constructors
Link copied to clipboard
protected constructor(timeKeeper: TimeKeeper, code: String, start: Long, until: Long, tokenType: OathMechanism.TokenType)
Creates a OathTokenCode wrap with given data
Functions
Link copied to clipboard
Gets the code which is currently active.
Link copied to clipboard
Get the current percent progress of the code for TOTPMechanism.
Link copied to clipboard
Creates a JSON string representation of OathTokenCode object.