SecurityModel

@Immutable
data class SecurityModel(id: String, accessToken: String, expiresIn: Int, refreshToken: String, refreshTokenExpiresIn: Int) : IModel

Model saved with encryption for access

Constructors

SecurityModel
Link copied to clipboard
fun SecurityModel(id: String = "last", accessToken: String, expiresIn: Int, refreshToken: String, refreshTokenExpiresIn: Int)

Properties

accessToken
Link copied to clipboard
val accessToken: String
expiresIn
Link copied to clipboard
val expiresIn: Int
id
Link copied to clipboard
open override val id: String
refreshToken
Link copied to clipboard
val refreshToken: String
refreshTokenExpiresIn
Link copied to clipboard
val refreshTokenExpiresIn: Int