synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
20 lines • 979 B
TypeScript
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