loginViaApple abstract method

Future<RequestResponse<K>> loginViaApple({
  1. required String code,
  2. required APPLE_OPTION option,
  3. String? state,
})

Logins in using Apple Auth code.

In addition to the code, the option must be specified APPLE_OPTION.

Optionally pass the state which is usually a JWT or base64 encoded data.

Implementation

Future<RequestResponse<K>> loginViaApple({
  required String code,
  required APPLE_OPTION option,
  String? state,
});