@medplum/fhirtypes 5.1.12 → 5.1.14
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.
- package/dist/IdentityProvider.d.ts +21 -0
- package/package.json +1 -1
|
@@ -32,6 +32,17 @@ export interface IdentityProvider {
|
|
|
32
32
|
*/
|
|
33
33
|
userInfoUrl: string;
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Optional userinfo mode. Defaults to standard OIDC userinfo semantics.
|
|
37
|
+
*/
|
|
38
|
+
userInfoMode?: 'oidc' | 'gcip';
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Optional API key used by custom userinfo modes such as Google Cloud
|
|
42
|
+
* Identity Platform.
|
|
43
|
+
*/
|
|
44
|
+
userInfoApiKey?: string;
|
|
45
|
+
|
|
35
46
|
/**
|
|
36
47
|
* External Identity Provider client ID.
|
|
37
48
|
*/
|
|
@@ -51,4 +62,14 @@ export interface IdentityProvider {
|
|
|
51
62
|
* Optional flag to use the subject field instead of the email field.
|
|
52
63
|
*/
|
|
53
64
|
useSubject?: boolean;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* External credential field used to identify the user.
|
|
68
|
+
*/
|
|
69
|
+
identitySource?: 'email' | 'subject' | 'fhir-user';
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Medplum identity mapping target.
|
|
73
|
+
*/
|
|
74
|
+
identityMappingMode?: 'user-email' | 'user-external-id' | 'project-membership-external-id' | 'project-membership-profile';
|
|
54
75
|
}
|