Skip to content

AuthClientCreateOptions

Defined in: index.ts:59

List of options for creating an AuthClient.

optional identity: SignIdentity | PartialIdentity

Defined in: index.ts:63

An SignIdentity or PartialIdentity to authenticate via delegation.


optional idleOptions: IdleOptions

Defined in: index.ts:83

Options to handle idle timeouts

after 10 minutes, invalidates the identity

optional keyType: BaseKeyType

Defined in: index.ts:77

Type to use for the base key.

If you are using a custom storage provider that does not support CryptoKey storage, you should use Ed25519 as the key type, as it can serialize to a string.

'ECDSA'

optional loginOptions: AuthClientLoginOptions

Defined in: index.ts:88

Options to handle login, passed to the login method


optional storage: AuthClientStorage

Defined in: index.ts:68

Optional storage with get, set, and remove. Uses IdbStorage by default.

AuthClientStorage