@uptime.app/contracts 2.0.43 → 2.0.44-alpha.0
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/cjs/identity-provider/identity-provider.d.ts +7 -3
- package/dist/cjs/identity-provider/identity-provider.d.ts.map +1 -1
- package/dist/esm/identity-provider/identity-provider.d.ts +7 -3
- package/dist/esm/identity-provider/identity-provider.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/identity-provider/identity-provider.ts +8 -4
|
@@ -10,8 +10,6 @@ export interface IdentityProvider {
|
|
|
10
10
|
config: IdentityProviderConfig;
|
|
11
11
|
}
|
|
12
12
|
export interface IdentityProviderConfig {
|
|
13
|
-
cognitoUserPoolId: string;
|
|
14
|
-
cognitoUserPoolClientIds: string[];
|
|
15
13
|
/** Whether IdP-initiated SSO is allowed */
|
|
16
14
|
idpInit: boolean;
|
|
17
15
|
idpSignout: boolean;
|
|
@@ -22,7 +20,13 @@ export interface IdentityProviderConfig {
|
|
|
22
20
|
/** Optional URL to fetch metadata from */
|
|
23
21
|
metadataUrl?: string;
|
|
24
22
|
attributeMapping?: {
|
|
25
|
-
|
|
23
|
+
email: string;
|
|
24
|
+
given_name?: string;
|
|
25
|
+
family_name?: string;
|
|
26
|
+
'custom:employee_id'?: string;
|
|
27
|
+
'custom:job_title'?: 'job_title';
|
|
28
|
+
'custom:user_department'?: 'user_department';
|
|
29
|
+
'external_organisation_id'?: string;
|
|
26
30
|
};
|
|
27
31
|
}
|
|
28
32
|
//# sourceMappingURL=identity-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-provider.d.ts","sourceRoot":"","sources":["../../../src/identity-provider/identity-provider.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,iFAAiF;IACjF,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,sBAAsB,CAAC;CAClC;AAED,MAAM,WAAW,sBAAsB;IACnC,
|
|
1
|
+
{"version":3,"file":"identity-provider.d.ts","sourceRoot":"","sources":["../../../src/identity-provider/identity-provider.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,iFAAiF;IACjF,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,sBAAsB,CAAC;CAClC;AAED,MAAM,WAAW,sBAAsB;IACnC,2CAA2C;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,uBAAuB,EAAE,MAAM,CAAC;IAChC,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE;QACf,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;QAC7B,kBAAkB,CAAC,EAAE,WAAW,CAAC;QACjC,wBAAwB,CAAC,EAAE,iBAAiB,CAAC;QAC7C,0BAA0B,CAAC,EAAE,MAAM,CAAA;KACtC,CAAC;CACL"}
|
|
@@ -10,8 +10,6 @@ export interface IdentityProvider {
|
|
|
10
10
|
config: IdentityProviderConfig;
|
|
11
11
|
}
|
|
12
12
|
export interface IdentityProviderConfig {
|
|
13
|
-
cognitoUserPoolId: string;
|
|
14
|
-
cognitoUserPoolClientIds: string[];
|
|
15
13
|
/** Whether IdP-initiated SSO is allowed */
|
|
16
14
|
idpInit: boolean;
|
|
17
15
|
idpSignout: boolean;
|
|
@@ -22,7 +20,13 @@ export interface IdentityProviderConfig {
|
|
|
22
20
|
/** Optional URL to fetch metadata from */
|
|
23
21
|
metadataUrl?: string;
|
|
24
22
|
attributeMapping?: {
|
|
25
|
-
|
|
23
|
+
email: string;
|
|
24
|
+
given_name?: string;
|
|
25
|
+
family_name?: string;
|
|
26
|
+
'custom:employee_id'?: string;
|
|
27
|
+
'custom:job_title'?: 'job_title';
|
|
28
|
+
'custom:user_department'?: 'user_department';
|
|
29
|
+
'external_organisation_id'?: string;
|
|
26
30
|
};
|
|
27
31
|
}
|
|
28
32
|
//# sourceMappingURL=identity-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-provider.d.ts","sourceRoot":"","sources":["../../../src/identity-provider/identity-provider.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,iFAAiF;IACjF,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,sBAAsB,CAAC;CAClC;AAED,MAAM,WAAW,sBAAsB;IACnC,
|
|
1
|
+
{"version":3,"file":"identity-provider.d.ts","sourceRoot":"","sources":["../../../src/identity-provider/identity-provider.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,iFAAiF;IACjF,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,sBAAsB,CAAC;CAClC;AAED,MAAM,WAAW,sBAAsB;IACnC,2CAA2C;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,uBAAuB,EAAE,MAAM,CAAC;IAChC,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE;QACf,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;QAC7B,kBAAkB,CAAC,EAAE,WAAW,CAAC;QACjC,wBAAwB,CAAC,EAAE,iBAAiB,CAAC;QAC7C,0BAA0B,CAAC,EAAE,MAAM,CAAA;KACtC,CAAC;CACL"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uptime.app/contracts",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.44-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"types": "./dist/esm/index.d.ts",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"typescript": "^5.4.3"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "bd852e0d0665563a6ac980e8ce19d0bafee4ef38"
|
|
18
18
|
}
|
|
@@ -9,10 +9,8 @@ export interface IdentityProvider {
|
|
|
9
9
|
providerName: string;
|
|
10
10
|
config: IdentityProviderConfig;
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
export interface IdentityProviderConfig {
|
|
14
|
-
cognitoUserPoolId: string;
|
|
15
|
-
cognitoUserPoolClientIds: string[];
|
|
16
14
|
/** Whether IdP-initiated SSO is allowed */
|
|
17
15
|
idpInit: boolean;
|
|
18
16
|
idpSignout: boolean;
|
|
@@ -23,6 +21,12 @@ export interface IdentityProviderConfig {
|
|
|
23
21
|
/** Optional URL to fetch metadata from */
|
|
24
22
|
metadataUrl?: string;
|
|
25
23
|
attributeMapping?: {
|
|
26
|
-
|
|
24
|
+
email: string;
|
|
25
|
+
given_name?: string;
|
|
26
|
+
family_name?: string;
|
|
27
|
+
'custom:employee_id'?: string
|
|
28
|
+
'custom:job_title'?: 'job_title',
|
|
29
|
+
'custom:user_department'?: 'user_department',
|
|
30
|
+
'external_organisation_id'?: string
|
|
27
31
|
};
|
|
28
32
|
}
|