type CreateAccountParams =
| {
email: string;
emailMode?: EmailType;
expirationSeconds?: number;
redirectParams?: URLSearchParams;
type: "email";
}
| {
phone: string;
type: "sms";
}
| {
creationOpts?: CredentialCreationOptionOverrides;
email: string;
type: "passkey";
}
| {
creationOpts?: CredentialCreationOptionOverrides;
type: "passkey";
username: string;
}
| {
accountId?: string;
publicKey: string;
type: "accessKey";
};Defined in: account-kit/signer/src/client/types.ts:41
{
email: string;
emailMode?: EmailType;
expirationSeconds?: number;
redirectParams?: URLSearchParams;
type: "email";
}| Name | Type | Description |
|---|---|---|
|
| ‐ |
| Deprecated This option will be overriden by dashboard settings. Please use the dashboard settings instead. This option will be removed in a future release. | |
|
| ‐ |
|
| ‐ |
|
| ‐ |
{
phone: string;
type: "sms";
}| Name | Type |
|---|---|
|
|
|
|
{
creationOpts?: CredentialCreationOptionOverrides;
email: string;
type: "passkey";
}| Name | Type |
|---|---|
| |
|
|
|
|
{
creationOpts?: CredentialCreationOptionOverrides;
type: "passkey";
username: string;
}| Name | Type |
|---|---|
| |
|
|
|
|
{
accountId?: string;
publicKey: string;
type: "accessKey";
}| Name | Type |
|---|---|
|
|
|
|
|
|