TokenServiceConfigurations class

A class combines token service configurations

Constructors

TokenServiceConfigurations({required String secretKey, required String prefix, required String host, required int port, Duration? tokenExpiryDuration, Duration? refreshTokenExpiryDuration})
Create an instance of TokenServiceConfigurations
const

Properties

hashCode int
The hash code for this object.
no setteroverride
host String
The host of redis db service.
final
port int
The port of redis db service.
final
prefix String
The prefix of redis db.
final
refreshTokenExpiryDuration Duration?
The default duration of the user refresh token to expire.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretKey String
The secret key of this service.
final
tokenExpiryDuration Duration?
The default duration of the user token to expire.
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.
override