resolveJwt property

String Function(dynamic response)? resolveJwt
final

Callback to extract the new JWT from the refresh token response.

Required for automatic token refresh to work.

Example:

resolveJwt: (response) => response.data['access_token']

Implementation

final String Function(dynamic response)? resolveJwt;