TokenAuthentication

data class TokenAuthentication<T : OtpAuthenticationType>(val token: Token, val otpAuthentication: T) : AuthenticationType<T>

Constructors

Link copied to clipboard
constructor(token: Token, otpAuthentication: T)

Properties

Link copied to clipboard
open override val otpAuthentication: T
Link copied to clipboard

Functions

Link copied to clipboard
open override fun clear()

Clears all data stored in this AuthenticationType. OTP codes will all be set to Int.MIN_VALUE, password and token fields will be filled with zeros.