cikraft
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
cikraft
api
/
app.softwork.cikraft.api
/
OAuth2Token
OAuth2Token
@
Serializable
data
class
OAuth2Token
(
val
accessToken
:
String
,
val
tokenType
:
String
,
val
expiresIn
:
Long
?
=
null
,
val
refreshToken
:
String
?
=
null
,
val
scope
:
String
?
=
null
,
val
expired
:
Boolean
=
false
,
val
jti
:
String
?
=
null
)
(
source
)
Members
Constructors
OAuth2Token
Link copied to clipboard
constructor
(
accessToken
:
String
,
tokenType
:
String
,
expiresIn
:
Long
?
=
null
,
refreshToken
:
String
?
=
null
,
scope
:
String
?
=
null
,
expired
:
Boolean
=
false
,
jti
:
String
?
=
null
)
Properties
access
Token
Link copied to clipboard
@
SerialName
(
value
=
"access_token"
)
val
accessToken
:
String
expired
Link copied to clipboard
val
expired
:
Boolean
expires
In
Link copied to clipboard
@
SerialName
(
value
=
"expires_in"
)
val
expiresIn
:
Long
?
jti
Link copied to clipboard
val
jti
:
String
?
refresh
Token
Link copied to clipboard
@
SerialName
(
value
=
"refresh_token"
)
val
refreshToken
:
String
?
scope
Link copied to clipboard
val
scope
:
String
?
token
Type
Link copied to clipboard
@
SerialName
(
value
=
"token_type"
)
val
tokenType
:
String