WithNewAccessToken typedef
A function type alias that represents a callback to handle the event when a
new access token is received. The function takes the newToken
and its
expiresAt
time.
Implementation
typedef WithNewAccessToken = Function(String newToken, DateTime expiresAt);