BearerToken class

Constructors

BearerToken()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

getData(String token, String secretKey) → BearerTokenResultDTO
getToken(String data, DateTime live, String secretKey) → BearerTokenResultDTO
Ключ должен быть длиной: 16 symbols/bytes - 128 bits 24 symbols/bytes - 192 bits 32 symbols/bytes - 256 bits