SenzuTokenConfig class

Constructors

SenzuTokenConfig({required TokenRefreshCallback onRefresh, int refreshBeforeExpirySec = 60, String tokenExpiryHeader = 'x-token-expiry'})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onRefresh TokenRefreshCallback
Шинэ signed URL болон header буцаах callback Return: {'url': '...', 'Authorization': 'Bearer ...'}
final
refreshBeforeExpirySec int
Token дуусахаас хэдэн секундийн өмнө refresh хийх
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenExpiryHeader String
Response header-с expiry цаг уншдаг key
final

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