@medplum/react 2.0.29 → 2.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseLoginRequest, LoginAuthenticationResponse } from '@medplum/core';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export interface AuthenticationFormProps extends BaseLoginRequest {
|
|
4
|
+
readonly disableEmailAuth?: boolean;
|
|
4
5
|
readonly disableGoogleAuth?: boolean;
|
|
5
6
|
readonly onForgotPassword?: () => void;
|
|
6
7
|
readonly onRegister?: () => void;
|
|
@@ -9,6 +10,7 @@ export interface AuthenticationFormProps extends BaseLoginRequest {
|
|
|
9
10
|
}
|
|
10
11
|
export declare function AuthenticationForm(props: AuthenticationFormProps): JSX.Element;
|
|
11
12
|
export interface EmailFormProps extends BaseLoginRequest {
|
|
13
|
+
readonly disableEmailAuth?: boolean;
|
|
12
14
|
readonly disableGoogleAuth?: boolean;
|
|
13
15
|
readonly onRegister?: () => void;
|
|
14
16
|
readonly handleAuthResponse: (response: LoginAuthenticationResponse) => void;
|
|
@@ -3,6 +3,7 @@ import React from 'react';
|
|
|
3
3
|
export interface SignInFormProps extends BaseLoginRequest {
|
|
4
4
|
readonly login?: string;
|
|
5
5
|
readonly chooseScopes?: boolean;
|
|
6
|
+
readonly disableEmailAuth?: boolean;
|
|
6
7
|
readonly disableGoogleAuth?: boolean;
|
|
7
8
|
readonly onSuccess?: () => void;
|
|
8
9
|
readonly onForgotPassword?: () => void;
|