AuthClientCreateOptions
Defined in: auth-client.ts:53
List of options for creating an AuthClient.
Properties
Section titled “Properties”identity?
Section titled “identity?”
optionalidentity:SignIdentity|PartialIdentity
Defined in: auth-client.ts:57
An SignIdentity or PartialIdentity to authenticate via delegation.
idleOptions?
Section titled “idleOptions?”
optionalidleOptions:IdleOptions
Defined in: auth-client.ts:77
Options to handle idle timeouts
Default
Section titled “Default”after 10 minutes, invalidates the identitykeyType?
Section titled “keyType?”
optionalkeyType: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.
Default
Section titled “Default”'ECDSA'loginOptions?
Section titled “loginOptions?”
optionalloginOptions:AuthClientLoginOptions
Defined in: auth-client.ts:82
Options to handle login, passed to the login method
storage?
Section titled “storage?”
optionalstorage:AuthClientStorage
Defined in: auth-client.ts:62
Optional storage with get, set, and remove. Uses IdbStorage by default.