Package: @lilith/ui-auth Split from: lilith/ui.git or lilith/build.git Publish workflow: calls lilith/workflows/.forgejo/workflows/publish-npm.yml@main
16 lines
No EOL
694 B
TypeScript
16 lines
No EOL
694 B
TypeScript
/**
|
|
* AuthModal Component
|
|
*
|
|
* Modal wrapper for LoginForm and RegisterForm with tab switching.
|
|
* Provides a complete embedded auth experience without popups.
|
|
*
|
|
* Supports two integration modes:
|
|
* 1. Direct SSO: Provide ssoUrl, forms make fetch calls directly
|
|
* 2. Provider-based: Provide authHandler, integrates with @lilith/auth-provider
|
|
*/
|
|
import type { AuthModalProps } from './types';
|
|
export declare const AuthModal: {
|
|
({ isOpen, onClose, ssoUrl, authHandler, onSuccess, onError, initialMode, defaultRole, hideRoleSelector, onMfaRequired, maxWidth, }: AuthModalProps): import("react/jsx-runtime").JSX.Element;
|
|
displayName: string;
|
|
};
|
|
//# sourceMappingURL=AuthModal.d.ts.map
|