customRefreshTokenResponseParser property

FutureOr<AuthenticationTokenParsedData> Function(String body)? customRefreshTokenResponseParser
final

Defines a custom function to parse the response of your refresh token API, you must return an object with "refreshToken" and "authToken", so it can replace your current session one

Implementation

final FutureOr<AuthenticationTokenParsedData> Function(String body)? customRefreshTokenResponseParser;