fursuit-tv-sdk
Toggle table of contents
0.4.1
common
Target filter
common
Switch theme
Search in API
Skip to content
fursuit-tv-sdk
fursuit-tv-sdk
/
com.furrist.rp.furtv.sdk.model
/
TokenInfo
/
OAuth
OAuth
@
Serializable
data
class
OAuth
(
val
oauthToken
:
String
,
val
refreshToken
:
String
?
=
null
,
val
scope
:
String
?
=
null
,
val
redirectUri
:
String
,
val
expiresAt
:
Long
,
val
tokenType
:
String
)
:
TokenInfo
OAuth 用户令牌,来自 OAuth 授权码流程。
Members
Constructors
OAuth
Link copied to clipboard
constructor
(
oauthToken
:
String
,
refreshToken
:
String
?
=
null
,
scope
:
String
?
=
null
,
redirectUri
:
String
,
expiresAt
:
Long
,
tokenType
:
String
)
Properties
expires
At
Link copied to clipboard
open
override
val
expiresAt
:
Long
oauth
Token
Link copied to clipboard
val
oauthToken
:
String
redirect
Uri
Link copied to clipboard
val
redirectUri
:
String
refresh
Token
Link copied to clipboard
val
refreshToken
:
String
?
scope
Link copied to clipboard
val
scope
:
String
?
token
Type
Link copied to clipboard
open
override
val
tokenType
:
String
Functions
is
Expired
Link copied to clipboard
fun
isExpired
(
)
:
Boolean