Skip to content

AuthClientCreateOptions

Defined in: auth-client.ts:53

List of options for creating an AuthClient.

optional identity: SignIdentity | PartialIdentity

Defined in: auth-client.ts:57

An SignIdentity or PartialIdentity to authenticate via delegation.


optional idleOptions: IdleOptions

Defined in: auth-client.ts:77

Options to handle idle timeouts

after 10 minutes, invalidates the identity

optional keyType: BaseKeyType

Defined in: auth-client.ts:71

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: auth-client.ts:82

Options to handle login, passed to the login method


optional storage: AuthClientStorage

Defined in: auth-client.ts:62

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

AuthClientStorage