discontinuedPackage matrix_api_lite has been discontinued.
RegisterResponse class
Properties
-
accessToken
↔ String?
-
An access token for the account.
This access token can then be used to authorize other requests.
Required if the
inhibit_login option is false.
getter/setter pair
-
deviceId
↔ String?
-
ID of the registered device. Will be the same as the
corresponding parameter in the request, if one was specified.
Required if the
inhibit_login option is false.
getter/setter pair
-
expiresInMs
↔ int?
-
The lifetime of the access token, in milliseconds. Once
the access token has expired a new access token can be
obtained by using the provided refresh token. If no
refresh token is provided, the client will need to re-log in
to obtain a new access token. If not given, the client can
assume that the access token will not expire.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
homeServer
↔ String?
-
The server_name of the homeserver on which the account has
been registered.
getter/setter pair
-
refreshToken
↔ String?
-
A refresh token for the account. This token can be used to
obtain a new access token when it expires by calling the
/refresh endpoint.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
userId
↔ String
-
The fully-qualified Matrix user ID (MXID) that has been registered.
getter/setter pair