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