type AuthType =
| {
buttonLabel?: string;
emailMode?: "magicLink" | "otp";
hideButton?: boolean;
placeholder?: string;
type: "email";
}
| {
type: "passkey";
}
| {
chainType?: ChainType[];
hideMoreButton?: boolean;
moreButtonText?: string;
numFeaturedWallets?: number;
type: "external_wallets";
walletConnect?: WalletConnectParameters;
walletConnectProjectId?: string;
wallets?: string[];
}
| object &
| {
auth0Connection?: string;
authProviderId: "auth0";
displayName: string;
isCustomProvider?: false;
logoUrl: string;
logoUrlDark?: string;
}
| {
auth0Connection?: never;
authProviderId: KnownAuthProvider;
displayName?: never;
isCustomProvider?: false;
logoUrl?: never;
logoUrlDark?: never;
} & OauthRedirectConfig;Defined in: account-kit/react/src/components/auth/types.ts:11
{
buttonLabel?: string;
emailMode?: "magicLink" | "otp";
hideButton?: boolean;
placeholder?: string;
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. |
|
| ‐ |
|
| ‐ |
|
| ‐ |
{
type: "passkey";
}| Name | Type |
|---|---|
|
|
{
chainType?: ChainType[];
hideMoreButton?: boolean;
moreButtonText?: string;
numFeaturedWallets?: number;
type: "external_wallets";
walletConnect?: WalletConnectParameters;
walletConnectProjectId?: string;
wallets?: string[];
}| Name | Type |
|---|---|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
object &
| {
auth0Connection?: string;
authProviderId: "auth0";
displayName: string;
isCustomProvider?: false;
logoUrl: string;
logoUrlDark?: string;
}
| {
auth0Connection?: never;
authProviderId: KnownAuthProvider;
displayName?: never;
isCustomProvider?: false;
logoUrl?: never;
logoUrlDark?: never;
} & OauthRedirectConfig