CustomTokenSource constructor
- CustomTokenFunction function
Initialize with a custom token generation function.
The function will be called whenever credentials need to be fetched,
receiving TokenRequestOptions and returning a TokenSourceResponse.
Implementation
CustomTokenSource(CustomTokenFunction function) : _function = function;