customAuthenticationAnonymousRequestMapper property

FutureOr<Map<String, String>> Function(SocialProviderResponse socialData, AuthDeviceInfo? authDeviceInfo)? customAuthenticationAnonymousRequestMapper
final

Provides a custom function that allows you to customize the way your request's body is sent to the API Example function(data) { return { 'custom-token-key': accessToken, } }

Implementation

final FutureOr<Map<String, String>> Function(SocialProviderResponse socialData, AuthDeviceInfo? authDeviceInfo)?
    customAuthenticationAnonymousRequestMapper;