updateToken abstract method
FutureOr
updateToken(
- AuthServer server,
- String? oldAccessToken,
- String? newAccessToken,
- DateTime? newIssueDate,
- DateTime? newExpirationDate,
Must update AuthToken with [newAccessToken, [newIssueDate, newExpirationDate
.
This method must must update an existing AuthToken, found by oldAccessToken
,
with the values newAccessToken
, newIssueDate
and newExpirationDate
.
You may alter the token in addition to the provided values, and you may override the provided values.
newAccessToken
defaults to a random 32 character string.
Implementation
FutureOr updateToken(
AuthServer server,
String? oldAccessToken,
String? newAccessToken,
DateTime? newIssueDate,
DateTime? newExpirationDate,
);