WithNewAccessToken typedef

WithNewAccessToken = dynamic Function(String newToken, DateTime expiresAt)

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);