toggle menu
trixnity-clientserverapi-model
4.11.0
common
switch theme
search in API
trixnity-clientserverapi-model
/
net.folivo.trixnity.clientserverapi.model.authentication
/
Login
/
Response
Response
@
Serializable
data
class
Response
(
val
userId
:
UserId
,
val
accessToken
:
String
,
val
accessTokenExpiresInMs
:
Long
?
=
null
,
val
refreshToken
:
String
?
=
null
,
val
deviceId
:
String
,
val
discoveryInformation
:
DiscoveryInformation
?
=
null
)
Members
Constructors
Response
Link copied to clipboard
constructor
(
userId
:
UserId
,
accessToken
:
String
,
accessTokenExpiresInMs
:
Long
?
=
null
,
refreshToken
:
String
?
=
null
,
deviceId
:
String
,
discoveryInformation
:
DiscoveryInformation
?
=
null
)
Properties
access
Token
Link copied to clipboard
@
SerialName
(
value
=
"access_token"
)
val
accessToken
:
String
access
Token
Expires
In
Ms
Link copied to clipboard
@
SerialName
(
value
=
"expires_in_ms"
)
val
accessTokenExpiresInMs
:
Long
?
=
null
device
Id
Link copied to clipboard
@
SerialName
(
value
=
"device_id"
)
val
deviceId
:
String
discovery
Information
Link copied to clipboard
@
SerialName
(
value
=
"well_known"
)
val
discoveryInformation
:
DiscoveryInformation
?
=
null
refresh
Token
Link copied to clipboard
@
SerialName
(
value
=
"refresh_token"
)
val
refreshToken
:
String
?
=
null
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
userId
:
UserId