Skip to main content

Functions

createAuthManager(authManagerParams)

Parameters

LitAuthStorageProvider
required
The storage provider used by the Auth Manager.

Returns

object
Complete AuthManager object with all returned methods.

createEoaAuthContext

Create an EOA (Externally Owned Account) auth context adapter for signing and session issuance.

Parameters

object

Returns

object

Example


createPkpAuthContext

Create a PKP auth context adapter using a user’s AuthData and a PKP public key.

Parameters

object

Returns

object

Example


createCustomAuthContext

Create a Custom auth context that validates using a Lit Action (by inline code or IPFS CID).

Parameters

object

Returns

object

Example