OAuthToken

data class OAuthToken(accessToken: String, accessTokenExpiresAt: Date, refreshToken: String, refreshTokenExpiresAt: Date, idToken: String?, scopes: List<String>?) : Parcelable

카카오 로그인으로 발급받은 토큰
Tokens issued with Kakao Login

Constructors

Link copied to clipboard
fun OAuthToken(accessToken: String, accessTokenExpiresAt: Date, refreshToken: String, refreshTokenExpiresAt: Date, idToken: String? = null, scopes: List<String>? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val accessToken: String

액세스 토큰
Access token

Link copied to clipboard
val accessTokenExpiresAt: Date

액세스 토큰 만료시각
Expiration time of the access token

Link copied to clipboard
val idToken: String? = null

ID 토큰
ID token

Link copied to clipboard
val refreshToken: String

리프레시 토큰
Refresh token

Link copied to clipboard
val refreshTokenExpiresAt: Date

리프레시 토큰 만료시각
Expiration time of the refresh token

Link copied to clipboard
val scopes: List<String>? = null

인가된 동의항목
Authorized scopes