Function
createPkpAuthContextFromPreGenerated(params)
Rehydrates a PKP auth context from pre-generated session materials. Ideal for server or lambda environments that receive { sessionKeyPair, delegationAuthSig } and want to issue fresh session signatures on demand.
Parameters
Optional override when you need to supply explicit auth data instead of relying on the delegation contents.
Returns
Auth context compatible with
litClient.executeJs, pkpSign, or further session signature issuance.