registerTokenErrorHandler method

bool registerTokenErrorHandler(
  1. TokenErrorHandler handler
)

Register a callback that can handle token errors during login or reauthentication

Implementation

bool registerTokenErrorHandler(TokenErrorHandler handler) {
  return _handlers.add(handler);
}