removeToken abstract method Null safety
- AuthServer server,
- AuthCode grantedByCode
Must delete a AuthToken granted by grantedByCode
.
If an AuthToken has been granted by exchanging AuthCode, that token must be revoked
and can no longer be used to authorize access to a resource. grantedByCode
should
also be removed.
This method is invoked when attempting to exchange an authorization code that has already granted a token.
Implementation
FutureOr removeToken(AuthServer server, AuthCode grantedByCode);