TCreateReadWriteSessionBody class

Constructors

TCreateReadWriteSessionBody({String? timestampMs, String? organizationId, required String targetPublicKey, String? userId, String? apiKeyName, String? expirationSeconds, bool? invalidateExisting})
const
TCreateReadWriteSessionBody.fromJson(Map<String, dynamic> json)
factory

Properties

apiKeyName String?
Optional human-readable name for an API Key. If none provided, default to Read Write Session -
final
expirationSeconds String?
Expiration window (in seconds) indicating how long the API key is valid for. If not provided, a default of 15 minutes will be used.
final
hashCode int
The hash code for this object.
no setterinherited
invalidateExisting bool?
Invalidate all other previously generated ReadWriteSession API keys
final
organizationId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetPublicKey String
Client-side public key generated by the user, to which the read write session bundle (credentials) will be encrypted.
final
timestampMs String?
final
userId String?
Unique identifier for a given User.
final

Methods

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

Operators

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