authenticate method

  1. @override
Future<SessionAuthRequestResponse> authenticate({
  1. required SessionAuthRequestParams params,
  2. String? pairingTopic,
  3. String? walletUniversalLink,
  4. List<List<String>>? methods = const [[MethodConstants.WC_SESSION_AUTHENTICATE]],
})
override

Implementation

@override
Future<SessionAuthRequestResponse> authenticate({
  required SessionAuthRequestParams params,
  String? pairingTopic,
  String? walletUniversalLink,
  List<List<String>>? methods = const [
    [MethodConstants.WC_SESSION_AUTHENTICATE]
  ],
}) async {
  try {
    return signEngine.authenticate(
      params: params,
      walletUniversalLink: walletUniversalLink,
      pairingTopic: pairingTopic,
      methods: methods,
    );
  } catch (e) {
    rethrow;
  }
}