AuthClientCreateOptions
Defined in: index.ts:59
List of options for creating an AuthClient.
Properties
Section titled “Properties”identity?
Section titled “identity?”
optional
identity:SignIdentity
|PartialIdentity
Defined in: index.ts:63
An SignIdentity or PartialIdentity to authenticate via delegation.
idleOptions?
Section titled “idleOptions?”
optional
idleOptions:IdleOptions
Defined in: index.ts:83
Options to handle idle timeouts
Default
Section titled “Default”after 10 minutes, invalidates the identity
keyType?
Section titled “keyType?”
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.
Default
Section titled “Default”'ECDSA'
loginOptions?
Section titled “loginOptions?”
optional
loginOptions:AuthClientLoginOptions
Defined in: index.ts:88
Options to handle login, passed to the login method
storage?
Section titled “storage?”
optional
storage:AuthClientStorage
Defined in: index.ts:68
Optional storage with get, set, and remove. Uses IdbStorage by default.