needsRefresh method

bool needsRefresh()

Check whether the token is obsolete. If the token has an expiration date, override this method.

Implementation

bool needsRefresh() => false;