authorizeIOS method

Future<AuthResult> authorizeIOS(
  1. SocialConnection connection
)

Initiates the authorization process for iOS-specific social providers (IOS Only).

This method is specific to iOS and allows for platform-specific behavior when authorizing with social providers.

  • connection: The social connection to use for login (e.g., Google, Apple).

Returns a Future<AuthResult> containing the authentication result. Throws: PassageError

Implementation

Future<AuthResult> authorizeIOS(SocialConnection connection) {
  return PassageFlutterPlatform.instance.authorizeIOSWith(connection);
}