loginWith static method
Logs in a user using a service
Set doNotSendInstallationID
to 'true' in order to prevent the SDK from sending the installationID to the Server.
This option is especially useful if you are running you application on web and you don't have permission to add 'X-Parse-Installation-Id' as an allowed header on your parse-server.
Implementation
static Future<ParseResponse> loginWith(String provider, Object authData,
{bool doNotSendInstallationID = false,
String? username,
String? password,
String? email}) async {
final ParseUser user = ParseUser.createUser(username, password, email);
final ParseResponse response = await user._loginWith(provider, authData,
doNotSendInstallationID: doNotSendInstallationID);
return response;
}