appleSignInUp method
Future<Response>
appleSignInUp(
{ - required String authorizationCode,
- required String callbackURL,
- required String clientId,
})
Implementation
Future<Response> appleSignInUp({
required String authorizationCode,
required String callbackURL,
required String clientId,
}) async {
Response response = await api.post(
'/auth/signinup',
options: Options(
headers: {
'rid': 'thirdpartyemailpassword',
'Content-Type': 'application/json; charset=UTF-8',
},
),
data: {
"clientId": clientId,
"code": authorizationCode,
"redirectURI": callbackURL,
"thirdPartyId": ThirdPartyLoginProviders.apple.name,
},
);
return response;
}