Last active
August 26, 2020 16:42
-
-
Save Alqueraf/fbaff93d2b5df932b5ae6c2eec5746c4 to your computer and use it in GitHub Desktop.
OAuth Access Token Response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Serializable | |
data class OAuthAccessTokenResponse( | |
@SerialName("access_token") val accessToken: String, | |
@SerialName("refresh_token") val refreshToken: String? = null, | |
@SerialName("expires_in") val expiresInSeconds: Int? = null, | |
@SerialName("token_type") val tokenType: String? = null, | |
@SerialName("scope") val scopes: List<String>? = null, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment