TokenProvider typedef
Supplies the bearer token for one transport attempt.
The provider is invoked for every unary attempt (including retries) and
stream subscription. Returning null or an empty string sends no
authorization header.
Implementation
typedef TokenProvider = FutureOr<String?> Function();