TokenData
class TokenData(val id: String, val tokenType: String, val expiresIn: Int, val accessToken: String, val scope: String?, val refreshToken: String?, val idToken: String?, val deviceSecret: String?, val issuedTokenType: String?, val configuration: OAuth2ClientConfiguration, val issuedAt: Long = configuration.clock.currentTimeEpochSecond() - expiresIn) : TokenInfo
Default cross-platform implementation of TokenInfo.
Used on JVM and other non-Android KMP targets where the Android-specific Token is not available.
Constructors
Link copied to clipboard
constructor(id: String, tokenType: String, expiresIn: Int, accessToken: String, scope: String?, refreshToken: String?, idToken: String?, deviceSecret: String?, issuedTokenType: String?, configuration: OAuth2ClientConfiguration, issuedAt: Long = configuration.clock.currentTimeEpochSecond() - expiresIn)