ByteTokenValidator class
a callable class that validates a ByteToken
Constructors
- ByteTokenValidator(ByteSignature signature, {Encode? encode})
-
it requires a ByteSignature and defaults the encoder to
HmacEncoder
Properties
- encode → Encode
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature → ByteSignature
-
final
Methods
-
call(
ByteToken p0) → ByteToken - takes a ByteToken as argument and returns it if valid
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited