linkCustom method
Link custom authentication
Implementation
@override
Future<void> linkCustom({
required model.Session session,
required String id,
Map<String, String>? vars,
}) async {
final res = await _api.v2AccountLinkCustomPost(
body: ApiAccountCustom(id: id, vars: vars),
);
if (!res.isSuccessful) throw Exception('Linking failed.');
}