RegisterResponse class

Annotations
  • @_NameSource('generated')

Constructors

RegisterResponse({String? accessToken, String? deviceId, int? expiresInMs, String? noDe, String? refreshToken, required String userId})
RegisterResponse.fromJson(Map<String, Object?> json)

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
noDe String?
The server_name of the node 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 SDN user ID (MXID) that has been registered.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited