LensClientConfig: LensClientConfig & {
    authentication: AuthenticationConfig;
    encryption?: IEncryptionProvider;
    signer: ISigner;
}

The configuration for the LensClient

Type declaration

  • authentication: AuthenticationConfig

    The authentication configuration to use for authenticating with the Lit Protocol network.

  • Optional encryption?: IEncryptionProvider

    The encryption provider to use for encrypting and decrypting strings.

    Default Value

    a Web Crypto API based encryption provider
    
  • signer: ISigner

    The signer to use for signing the SIWE for Lit Protocol authentication.