CreateAccountParams
1 type CreateAccountParams = 2 | { 3 email: string; 4 emailMode?: EmailType; 5 expirationSeconds?: number; 6 redirectParams?: URLSearchParams; 7 type: "email"; 8 } 9 | { 10 phone: string; 11 type: "sms"; 12 } 13 | { 14 creationOpts?: CredentialCreationOptionOverrides; 15 email: string; 16 type: "passkey"; 17 } 18 | { 19 creationOpts?: CredentialCreationOptionOverrides; 20 type: "passkey"; 21 username: string; 22 } 23 | { 24 accountId?: string; 25 publicKey: string; 26 type: "accessKey"; 27 };
Defined in: account-kit/signer/src/client/types.ts:45
Type Declaration
1 { 2 email: string; 3 emailMode?: EmailType; 4 expirationSeconds?: number; 5 redirectParams?: URLSearchParams; 6 type: "email"; 7 }
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. | |
|
| ‐ |
|
| ‐ |
|
| ‐ |
1 { 2 phone: string; 3 type: "sms"; 4 }
Name | Type |
---|---|
|
|
|
|
1 { 2 creationOpts?: CredentialCreationOptionOverrides; 3 email: string; 4 type: "passkey"; 5 }
Name | Type |
---|---|
| |
|
|
|
|
1 { 2 creationOpts?: CredentialCreationOptionOverrides; 3 type: "passkey"; 4 username: string; 5 }
Name | Type |
---|---|
| |
|
|
|
|
1 { 2 accountId?: string; 3 publicKey: string; 4 type: "accessKey"; 5 }
Name | Type |
---|---|
|
|
|
|
|
|