onRevoked property

RevokeCallback? onRevoked
final

This function will be triggered if the token revoked and the refresh token is failed.

We can optionally return a reason message or null.

refer to TokenProtocol for shouldRevoke

Implementation

final RevokeCallback? onRevoked;