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

20 lines 979 B
import { OAuth2State } from '@/utils'; import { TwoFactorAuthErrorResponse } from '@sage-bionetworks/synapse-client/generated/models/TwoFactorAuthErrorResponse'; import { Realm } from '@sage-bionetworks/synapse-client'; export type StandaloneLoginFormProps = { ssoRedirectUrl?: string; sessionCallback: () => void; registerAccountUrl?: string; resetPasswordUrl?: string; onBeginOAuthSignIn?: () => void; twoFactorAuthenticationRequired?: TwoFactorAuthErrorResponse; onTwoFactorAuthRequired?: (twoFaErrorResponse: Pick<TwoFactorAuthErrorResponse, 'twoFaToken' | 'userId'>) => void; hideRegisterButton?: boolean; hideForgotPasswordButton?: boolean; ssoState?: OAuth2State; twoFactorAuthResetUri?: string; onPasswordLoginSelected?: () => void; realm?: Realm; }; export default function StandaloneLoginForm(props: StandaloneLoginFormProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=StandaloneLoginForm.d.ts.map