loginWithApple static method

Future<Map<String, dynamic>> loginWithApple({
  1. required String identityToken,
  2. String? authorizationCode,
  3. String? userData,
})

Apple Sign In - returns user data without saving

Implementation

static Future<Map<String, dynamic>> loginWithApple({
  required String identityToken,
  String? authorizationCode,
  String? userData,
}) async {
  return AppleProvider.authenticate(
    identityToken: identityToken,
    authorizationCode: authorizationCode,
    userData: userData,
    clientId: config.appleClientId,
    teamId: config.appleTeamId,
    keyId: config.appleKeyId,
    privateKey: config.applePrivateKey,
  );
}