!! NOTE !!
This function is purely used for crafting the authSig for access control conditions & decryption. For SessionSigs, you can pass the authSig as jsParams
or Eth Wallet Auth Method for signSessionKey and claiming, but you won't be able to use this to add resource ability requests in the SIWE message. Instead, you should provide your own signer to the authNeededCallback parameter for the getSessionSigs method.
Check for an existing cryptographic authentication signature and create one of it does not exist. This is used to prove ownership of a given crypto wallet address to the Lit nodes. The result is stored in LocalStorage so the user doesn't have to sign every time they perform an operation.
SUPPORTED CHAINS: EVM, Solana, Cosmos
!! NOTE !! This function is purely used for crafting the authSig for access control conditions & decryption. For SessionSigs, you can pass the
authSig
asjsParams
or Eth Wallet Auth Method forsignSessionKey
and claiming, but you won't be able to use this to add resource ability requests in the SIWE message. Instead, you should provide your own signer to the authNeededCallback parameter for the getSessionSigs method.Check for an existing cryptographic authentication signature and create one of it does not exist. This is used to prove ownership of a given crypto wallet address to the Lit nodes. The result is stored in LocalStorage so the user doesn't have to sign every time they perform an operation.
Returns
The AuthSig created or retrieved