UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

29 lines 1.35 kB
import { OAuth2State } from '@/utils'; import { UseLoginReturn } from '@/utils/hooks'; import { TwoFactorAuthErrorResponse } from '@sage-bionetworks/synapse-types'; import { Realm } from '@sage-bionetworks/synapse-client'; type Props = { ssoRedirectUrl?: string; registerAccountUrl?: string; resetPasswordUrl?: string; onBeginOAuthSignIn?: () => void; step: UseLoginReturn['step']; onStepChange: (step: UseLoginReturn['step']) => void; twoFactorAuthenticationRequired?: TwoFactorAuthErrorResponse; submitUsernameAndPassword: UseLoginReturn['submitUsernameAndPassword']; submitOneTimePassword: UseLoginReturn['submitOneTimePassword']; errorMessage: UseLoginReturn['errorMessage']; loginIsPending: UseLoginReturn['loginIsPending']; beginTwoFactorAuthReset: UseLoginReturn['beginTwoFactorAuthReset']; twoFactorAuthResetIsSuccess: UseLoginReturn['twoFactorAuthResetIsSuccess']; twoFactorAuthResetIsPending: UseLoginReturn['twoFactorAuthResetIsPending']; hideRegisterButton?: boolean; hideForgotPasswordButton?: boolean; ssoState?: OAuth2State; twoFactorAuthResetUri?: string; onPasswordLoginSelected?: () => void; realm?: Realm; }; export default function LoginForm(props: Props): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=LoginForm.d.ts.map