ParseTokenResponse typedef
ParseTokenResponse =
OAuth2PkceTokenResponse Function(Map<String, dynamic> responseBody)
Callback to parse the OAuth2 token response from the provider.
Should extract the access token, optional fields, and validate for errors. Throws OAuth2InvalidResponseException or OAuth2MissingAccessTokenException on validation failures.
Implementation
typedef ParseTokenResponse =
OAuth2PkceTokenResponse Function(Map<String, dynamic> responseBody);