generatenonce

Home > @spruceid/ssx-serverless > SSXServer > generateNonce

SSXServer.generateNonce property

Generates a nonce for use in the SSX client libraries. Nonce is a random string that is used to prevent replay attacks. Wraps the generateNonce function from the SIWE library.

Signature:

generateNonce: () => string;

Last updated