authorizeWith method
Implementation
@override
Future<void> authorizeWith(PassageSocialConnection connection) async {
try {
final resultPromise = passage.authorizeWith(connection.value);
await js_util.promiseToFuture(resultPromise);
return;
} catch (e) {
throw PassageError.fromObject(
object: e, overrideCode: PassageErrorCode.socialAuthError);
}
}