Coverage Summary for Class: TokenResponse (io.github.captnblubber.twitchkt.auth)
| Class |
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| TokenResponse |
100%
(1/1)
|
50%
(1/2)
|
100%
(6/6)
|
95.8%
(113/118)
|
| TokenResponse$Companion |
100%
(1/1)
|
|
100%
(1/1)
|
100%
(4/4)
|
| Total |
100%
(2/2)
|
50%
(1/2)
|
100%
(7/7)
|
95.9%
(117/122)
|
package io.github.captnblubber.twitchkt.auth
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class TokenResponse(
@SerialName("access_token") val accessToken: String,
@SerialName("refresh_token") val refreshToken: String,
@SerialName("expires_in") val expiresIn: Int,
@SerialName("scope") val scopes: List<String>,
@SerialName("token_type") val tokenType: String,
)