Token class
- Annotations
-
- @immutable
Properties
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → Header
-
final
- localAADPreAuthenticationEncoding → Uint8List
-
no setter
- payload → Payload
-
final
- payloadLocal → PayloadLocal?
-
no setter
- payloadPublic → PayloadPublic?
-
no setter
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- standardPreAuthenticationEncoding → Uint8List
-
no setter
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - toTokenString → String
-
no setter
Methods
-
decryptLocalMessage(
{required SecretKey secretKey}) → Future< Message> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verifyPublicMessage(
{required PublicKey publicKey}) → Future< Message>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
decodePayload(
String string, {required Header header}) → Payload -
decodePayloadFromBytes(
List< int> bytes, {required int nonceLength, required int macLength}) → Payload -
fromString(
String string) → Future< Token> -
preAuthenticationEncoding(
{required Header header, required Payload payload, List< int> ? implicit}) → Uint8List