respondAuthRequest method
Future<void>
respondAuthRequest({
- required int id,
- required String iss,
- CacaoSignature? signature,
- WalletConnectError? error,
override
Construct the Namespaces map for a session proposal. Uses the registered methods, events, and keys to build them. If the required namespaces is not satisfied, this function will throw a WalletConnectError. The optional namespaces are included if they exist in the registered information.
Implementation
@override
Future<void> respondAuthRequest({
required int id,
required String iss,
CacaoSignature? signature,
WalletConnectError? error,
}) {
try {
return authEngine.respondAuthRequest(
id: id,
iss: iss,
signature: signature,
error: error,
);
} catch (e) {
rethrow;
}
}