AuthenticateParameters

data class AuthenticateParameters(val token: String, val sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES)

Data class used for wrapping parameters to authenticate a thirdparty oAuth flow

Parameters

token

is the token returned from the provider

sessionDurationMinutes

indicates how long the session should last before it expires

Constructors

Link copied to clipboard
fun AuthenticateParameters(token: String, sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES)

Properties

Link copied to clipboard
val sessionDurationMinutes: UInt
Link copied to clipboard
val token: String