@medplum/fhirtypes 5.1.13 → 5.1.15
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.
|
@@ -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
|
}
|
|
@@ -163,7 +163,7 @@ export interface ProjectMembership {
|
|
|
163
163
|
externalId?: string;
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
|
-
* The access policy for the user within the project
|
|
166
|
+
* The access policy for the user within the project membership.
|
|
167
167
|
*/
|
|
168
168
|
accessPolicy?: Reference<AccessPolicy>;
|
|
169
169
|
|
|
@@ -173,7 +173,7 @@ export interface ProjectMembership {
|
|
|
173
173
|
access?: ProjectMembershipAccess[];
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
|
-
* The user configuration for the user within the project
|
|
176
|
+
* The user configuration for the user within the project membership
|
|
177
177
|
* such as menu links, saved searches, and features.
|
|
178
178
|
*/
|
|
179
179
|
userConfiguration?: Reference<UserConfiguration>;
|