AuthToken.fromParameters constructor
AuthToken.fromParameters(})
Implementation
AuthToken.fromParameters(String key,
{this.startTime = 0,
int duration = 0,
String? tokenName,
int expiration = 0,
this.ip,
this.acl,
bool isNullableToken = false}) {
_key = key;
_expiration = expiration;
_duration = duration;
_tokenName = tokenName ?? _authTokenName;
_isNullToken = isNullableToken;
}