AuthParameters
data class AuthParameters( val token: String, val methodId: String, val sessionDurationMinutes: UInt = DEFAULT_SESSION_TIME_MINUTES)
Content copied to clipboard
Data class used for wrapping parameters used with OTP authentication
Parameters
token
the value sent to the user via the otp delivery method
methodId
the identifier returned from the corresponding loginOrCreate method
sessionDurationMinutes
indicates how long the session should last before it expires
Constructors
Link copied to clipboard
fun AuthParameters( token: String, methodId: String, sessionDurationMinutes: UInt = DEFAULT_SESSION_TIME_MINUTES)
Content copied to clipboard