core / com.schibsted.account.network.response / TokenResponse

TokenResponse

data class TokenResponse : Parcelable

Constructors

<init>

TokenResponse(parcel: Parcel)
TokenResponse(idToken: String? = null, userId: String, serializedAccessToken: String, refreshToken: String?, scope: String, tokenType: String, expiresIn: Int)

Properties

expiresIn

val expiresIn: Int

idToken

val idToken: String?

refreshToken

val refreshToken: String?

scope

val scope: String

serializedAccessToken

val serializedAccessToken: String

tokenType

val tokenType: String

userId

val userId: String

Functions

bearerAuthHeader

fun bearerAuthHeader(): String

describeContents

fun describeContents(): Int

isValidToken

fun isValidToken(): Boolean

writeToParcel

fun writeToParcel(parcel: Parcel, flags: Int): Unit

Companion Object Properties

CREATOR

val CREATOR: Creator<TokenResponse>