discontinuedPackage matrix_api_lite has been discontinued.
LoginResponse class
Properties
-
accessToken
↔ String
-
An access token for the account.
This access token can then be used to authorize other requests.
getter/setter pair
-
deviceId
↔ String
-
ID of the logged-in device. Will be the same as the
corresponding parameter in the request, if one was specified.
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 ID for the account.
getter/setter pair
-
wellKnown
↔ DiscoveryInformation?
-
Optional client configuration provided by the server. If present,
clients SHOULD use the provided object to reconfigure themselves,
optionally validating the URLs within. This object takes the same
form as the one returned from .well-known autodiscovery.
getter/setter pair