You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// (Optional) Internally, we also run the `validateDelegationAuthSig` function to ensure the signature is valid before proceeding. However, we can also use this externally in case you want to validate a signature yourself.
40
54
validateDelegationAuthSig({
41
-
delegationAuthSig,
42
-
sessionKeyUri: sessionKeyPair.publicKey,
55
+
delegationAuthSig: receivedDelegationAuthSig,
56
+
sessionKeyUri: receivedSessionKeyPair.publicKey,
57
+
});
58
+
59
+
constserverAuthManager=createAuthManager({
60
+
storage: storagePlugins.localStorageNode({
61
+
appName: 'e2e-pre-generated',
62
+
networkName: 'naga-dev',
63
+
storagePath: './.e2e/pre-generated-storage',
64
+
}),
43
65
});
44
66
45
-
// Step 3: Create auth context using the pre-generated materials
0 commit comments