@connectid-tools/rp-nodejs-sdk 4.2.1 → 5.0.1

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.
Files changed (56) hide show
  1. package/README.md +64 -71
  2. package/config.js +2 -31
  3. package/conformance/api/conformance-api.d.ts +38 -0
  4. package/conformance/api/conformance-api.js +53 -0
  5. package/conformance/conformance-config.d.ts +2 -0
  6. package/conformance/conformance-config.js +34 -0
  7. package/crypto/crypto-loader.d.ts +32 -0
  8. package/crypto/crypto-loader.js +49 -0
  9. package/crypto/jwt-helper.d.ts +61 -0
  10. package/crypto/jwt-helper.js +92 -0
  11. package/crypto/pkce-helper.d.ts +43 -0
  12. package/crypto/pkce-helper.js +75 -0
  13. package/endpoints/participants-endpoint.d.ts +55 -0
  14. package/endpoints/participants-endpoint.js +137 -0
  15. package/endpoints/pushed-authorisation-request-endpoint.d.ts +87 -0
  16. package/endpoints/pushed-authorisation-request-endpoint.js +192 -0
  17. package/endpoints/retrieve-token-endpoint.d.ts +66 -0
  18. package/endpoints/retrieve-token-endpoint.js +159 -0
  19. package/endpoints/userinfo-endpoint.d.ts +24 -0
  20. package/endpoints/userinfo-endpoint.js +50 -0
  21. package/fapi/fapi-utils.d.ts +6 -0
  22. package/fapi/fapi-utils.js +9 -0
  23. package/http/http-client-extensions.d.ts +60 -0
  24. package/http/http-client-extensions.js +106 -0
  25. package/http/http-client-factory.d.ts +27 -0
  26. package/http/http-client-factory.js +45 -0
  27. package/model/callback-params.d.ts +31 -0
  28. package/model/callback-params.js +1 -0
  29. package/model/claims.d.ts +100 -0
  30. package/model/claims.js +1 -0
  31. package/model/consolidated-token-set.d.ts +74 -0
  32. package/model/consolidated-token-set.js +100 -0
  33. package/model/discovery-service.d.ts +46 -0
  34. package/model/discovery-service.js +112 -0
  35. package/model/issuer-metadata.d.ts +165 -0
  36. package/model/issuer-metadata.js +1 -0
  37. package/model/jwks.d.ts +12 -0
  38. package/model/jwks.js +1 -0
  39. package/model/token-response.d.ts +31 -0
  40. package/model/token-response.js +1 -0
  41. package/model/token-set.d.ts +73 -0
  42. package/model/token-set.js +179 -0
  43. package/package.json +4 -5
  44. package/relying-party-client-sdk.d.ts +55 -24
  45. package/relying-party-client-sdk.js +90 -304
  46. package/test-data/large-participants-test-data.d.ts +865 -0
  47. package/test-data/large-participants-test-data.js +18907 -0
  48. package/test-data/participants-test-data.d.ts +149 -0
  49. package/test-data/participants-test-data.js +458 -0
  50. package/test-data/sandbox-participants-test-data.d.ts +865 -0
  51. package/test-data/sandbox-participants-test-data.js +3794 -0
  52. package/types.d.ts +61 -32
  53. package/utils/request-utils.d.ts +1 -1
  54. package/utils/request-utils.js +5 -5
  55. package/utils/user-agent.d.ts +1 -1
  56. package/utils/user-agent.js +1 -1
@@ -0,0 +1,149 @@
1
+ export declare const participantsTestData: ({
2
+ OrganisationId: string;
3
+ Status: string;
4
+ OrganisationName: string;
5
+ CreatedOn: string;
6
+ LegalEntityName: string;
7
+ CountryOfRegistration: string;
8
+ CompanyRegister: string;
9
+ Tag: never[];
10
+ Size: string;
11
+ RegistrationNumber: string;
12
+ RegistrationId: null;
13
+ RegisteredName: string;
14
+ AddressLine1: string;
15
+ AddressLine2: string;
16
+ City: string;
17
+ Postcode: string;
18
+ Country: string;
19
+ ParentOrganisationReference: string;
20
+ AuthorisationServers: {
21
+ AuthorisationServerId: string;
22
+ AutoRegistrationSupported: boolean;
23
+ AutoRegistrationNotificationWebhook: string;
24
+ SupportsCiba: boolean;
25
+ SupportsDCR: boolean;
26
+ SupportsRedirect: boolean;
27
+ ApiResources: never[];
28
+ AuthorisationServerCertifications: {
29
+ CertificationStartDate: string;
30
+ CertificationExpirationDate: string;
31
+ CertificationId: string;
32
+ AuthorisationServerId: string;
33
+ Status: string;
34
+ ProfileVariant: string;
35
+ ProfileType: string;
36
+ ProfileVersion: number;
37
+ CertificationURI: string;
38
+ }[];
39
+ CustomerFriendlyDescription: string;
40
+ CustomerFriendlyLogoUri: string;
41
+ CustomerFriendlyName: string;
42
+ DeveloperPortalUri: null;
43
+ TermsOfServiceUri: null;
44
+ NotificationWebhookAddedDate: null;
45
+ OpenIDDiscoveryDocument: string;
46
+ Issuer: string;
47
+ PayloadSigningCertLocationUri: string;
48
+ CreatedAt: number;
49
+ ParentAuthorisationServerId: null;
50
+ DeprecatedDate: null;
51
+ RetirementDate: null;
52
+ SupersededByAuthorisationServerId: null;
53
+ }[];
54
+ OrgDomainClaims: {
55
+ AuthorisationDomainName: string;
56
+ AuthorityName: string;
57
+ RegistrationId: string;
58
+ Status: string;
59
+ }[];
60
+ OrgDomainRoleClaims: {
61
+ Status: string;
62
+ AuthorisationDomain: string;
63
+ Role: string;
64
+ Authorisations: never[];
65
+ RegistrationId: string;
66
+ RoleType: string;
67
+ Exclusive: boolean;
68
+ Metadata: {
69
+ MetadataId: string;
70
+ DomainRoleName: string;
71
+ Type: string;
72
+ Name: string;
73
+ }[];
74
+ }[];
75
+ } | {
76
+ OrganisationId: string;
77
+ Status: string;
78
+ OrganisationName: string;
79
+ CreatedOn: string;
80
+ LegalEntityName: string;
81
+ CountryOfRegistration: string;
82
+ CompanyRegister: string;
83
+ Tag: never[];
84
+ Size: string;
85
+ RegistrationNumber: string;
86
+ RegistrationId: null;
87
+ RegisteredName: string;
88
+ AddressLine1: string;
89
+ AddressLine2: string;
90
+ City: string;
91
+ Postcode: string;
92
+ Country: string;
93
+ ParentOrganisationReference: string;
94
+ AuthorisationServers: {
95
+ AuthorisationServerId: string;
96
+ AutoRegistrationSupported: boolean;
97
+ AutoRegistrationNotificationWebhook: null;
98
+ SupportsCiba: boolean;
99
+ SupportsDCR: boolean;
100
+ SupportsRedirect: boolean;
101
+ ApiResources: never[];
102
+ AuthorisationServerCertifications: {
103
+ CertificationStartDate: string;
104
+ CertificationExpirationDate: string;
105
+ CertificationId: string;
106
+ AuthorisationServerId: string;
107
+ Status: string;
108
+ ProfileVariant: string;
109
+ ProfileType: string;
110
+ ProfileVersion: number;
111
+ CertificationURI: string;
112
+ }[];
113
+ CustomerFriendlyDescription: string;
114
+ CustomerFriendlyLogoUri: string;
115
+ CustomerFriendlyName: string;
116
+ DeveloperPortalUri: null;
117
+ TermsOfServiceUri: null;
118
+ NotificationWebhookAddedDate: null;
119
+ OpenIDDiscoveryDocument: string;
120
+ Issuer: string;
121
+ PayloadSigningCertLocationUri: string;
122
+ CreatedAt: number;
123
+ ParentAuthorisationServerId: null;
124
+ DeprecatedDate: number[];
125
+ RetirementDate: number[];
126
+ SupersededByAuthorisationServerId: null;
127
+ }[];
128
+ OrgDomainClaims: {
129
+ AuthorisationDomainName: string;
130
+ AuthorityName: string;
131
+ RegistrationId: string;
132
+ Status: string;
133
+ }[];
134
+ OrgDomainRoleClaims: {
135
+ Status: string;
136
+ AuthorisationDomain: string;
137
+ Role: string;
138
+ Authorisations: never[];
139
+ RegistrationId: string;
140
+ RoleType: string;
141
+ Exclusive: boolean;
142
+ Metadata: {
143
+ MetadataId: string;
144
+ DomainRoleName: string;
145
+ Type: string;
146
+ Name: string;
147
+ }[];
148
+ }[];
149
+ })[];
@@ -0,0 +1,458 @@
1
+ export const participantsTestData = [
2
+ {
3
+ "OrganisationId": "7b890f97-e92f-4dad-8886-02c386ad4fcc",
4
+ "Status": "Active",
5
+ "OrganisationName": "ConnectID Mock Banks",
6
+ "CreatedOn": "2022-07-29T01:56:48.625Z",
7
+ "LegalEntityName": "ConnectID Mock Banks",
8
+ "CountryOfRegistration": "AU",
9
+ "CompanyRegister": "ABN",
10
+ "Tag": [],
11
+ "Size": "",
12
+ "RegistrationNumber": "80 648 970 101",
13
+ "RegistrationId": null,
14
+ "RegisteredName": "ConnectID Mock Banks",
15
+ "AddressLine1": "Level 1",
16
+ "AddressLine2": "255 George St",
17
+ "City": "Sydney",
18
+ "Postcode": "2000",
19
+ "Country": "AU",
20
+ "ParentOrganisationReference": "",
21
+ "AuthorisationServers": [
22
+ {
23
+ "AuthorisationServerId": "ce868ca5-0b99-47e6-b8cd-e26aac082448",
24
+ "AutoRegistrationSupported": true,
25
+ "AutoRegistrationNotificationWebhook": "https://auth.bank3.directory.sandbox.connectid.com.au/ssonboard/webhook",
26
+ "SupportsCiba": false,
27
+ "SupportsDCR": false,
28
+ "SupportsRedirect": true,
29
+ "ApiResources": [],
30
+ "AuthorisationServerCertifications": [
31
+ {
32
+ "CertificationStartDate": "07/03/2023",
33
+ "CertificationExpirationDate": "07/03/2024",
34
+ "CertificationId": "bb7360ca-2f27-491c-b9aa-7708405badd1",
35
+ "AuthorisationServerId": "ce868ca5-0b99-47e6-b8cd-e26aac082448",
36
+ "Status": "Certified",
37
+ "ProfileVariant": "FAPI2 Adv. OP w/Private Key, PAR",
38
+ "ProfileType": "Redirect",
39
+ "ProfileVersion": 2,
40
+ "CertificationURI": "https://static.relyingparty.net/text.zip"
41
+ },
42
+ {
43
+ "CertificationStartDate": "15/06/2023",
44
+ "CertificationExpirationDate": "14/06/2024",
45
+ "CertificationId": "45142d8f-b7d7-439b-809d-52cbb79b7c52",
46
+ "AuthorisationServerId": "ce868ca5-0b99-47e6-b8cd-e26aac082448",
47
+ "Status": "Certified",
48
+ "ProfileVariant": "name",
49
+ "ProfileType": "ConnectID Claims",
50
+ "ProfileVersion": 1,
51
+ "CertificationURI": "https://cdn.dev.connectid.com.au/certification/certification-result.zip"
52
+ },
53
+ {
54
+ "CertificationStartDate": "15/07/2023",
55
+ "CertificationExpirationDate": "14/07/2024",
56
+ "CertificationId": "85ca445a-ec8a-4734-b790-df48abd5cdc6",
57
+ "AuthorisationServerId": "ce868ca5-0b99-47e6-b8cd-e26aac082448",
58
+ "Status": "Certified",
59
+ "ProfileVariant": "over25",
60
+ "ProfileType": "ConnectID Claims",
61
+ "ProfileVersion": 1,
62
+ "CertificationURI": "https://cdn.dev.connectid.com.au/certification/certification-result.zip"
63
+ },
64
+ {
65
+ "CertificationStartDate": "10/08/2023",
66
+ "CertificationExpirationDate": "09/08/2024",
67
+ "CertificationId": "0cfb4253-8ba3-4df5-bdd4-1cd8badb7a20",
68
+ "AuthorisationServerId": "ce868ca5-0b99-47e6-b8cd-e26aac082448",
69
+ "Status": "Self-Certified",
70
+ "ProfileVariant": "web",
71
+ "ProfileType": "Channel",
72
+ "ProfileVersion": 1,
73
+ "CertificationURI": "https://cdn.dev.connectid.com.au/certification/certification-result.zip"
74
+ },
75
+ ],
76
+ "CustomerFriendlyDescription": "Bank N",
77
+ "CustomerFriendlyLogoUri": "https://static.sandbox.connectid.com.au/BankN.svg",
78
+ "CustomerFriendlyName": "Mock Bank N",
79
+ "DeveloperPortalUri": null,
80
+ "TermsOfServiceUri": null,
81
+ "NotificationWebhookAddedDate": null,
82
+ "OpenIDDiscoveryDocument": "https://auth.bank3.directory.sandbox.connectid.com.au/.well-known/openid-configuration",
83
+ "Issuer": "https://auth.bank3.directory.sandbox.connectid.com.au",
84
+ "PayloadSigningCertLocationUri": "https://auth.bank3.directory.sandbox.connectid.com.au/na",
85
+ "CreatedAt": 1659631521,
86
+ "ParentAuthorisationServerId": null,
87
+ "DeprecatedDate": null,
88
+ "RetirementDate": null,
89
+ "SupersededByAuthorisationServerId": null
90
+ },
91
+ {
92
+ "AuthorisationServerId": "abd2a7e0-ebdf-4302-b059-d8878d1ef41a",
93
+ "AutoRegistrationSupported": true,
94
+ "AutoRegistrationNotificationWebhook": "https://auth.bank2.directory.sandbox.connectid.com.au/ssonboard/webhook",
95
+ "SupportsCiba": false,
96
+ "SupportsDCR": false,
97
+ "SupportsRedirect": true,
98
+ "ApiResources": [],
99
+ "AuthorisationServerCertifications": [
100
+ {
101
+ "CertificationStartDate": "09/04/2023",
102
+ "CertificationExpirationDate": "09/04/2024",
103
+ "CertificationId": "0ecfc802-b090-450a-bdaf-956f00a997e2",
104
+ "AuthorisationServerId": "abd2a7e0-ebdf-4302-b059-d8878d1ef41a",
105
+ "Status": "Certified",
106
+ "ProfileVariant": "FAPI2 Adv. OP w/Private Key, PAR",
107
+ "ProfileType": "Redirect",
108
+ "ProfileVersion": 2,
109
+ "CertificationURI": "https://static.relyingparty.net/text.zip"
110
+ },
111
+ {
112
+ "CertificationStartDate": "10/05/2023",
113
+ "CertificationExpirationDate": "09/05/2024",
114
+ "CertificationId": "c711b2ea-db61-4685-a903-d6d646327b53",
115
+ "AuthorisationServerId": "abd2a7e0-ebdf-4302-b059-d8878d1ef41a",
116
+ "Status": "Certified",
117
+ "ProfileVariant": "web",
118
+ "ProfileType": "Channel",
119
+ "ProfileVersion": 1,
120
+ "CertificationURI": "https://cdn.dev.connectid.com.au/certification/certification-result.zip"
121
+ },
122
+ {
123
+ "CertificationStartDate": "15/06/2023",
124
+ "CertificationExpirationDate": "14/06/2024",
125
+ "CertificationId": "5bf07a24-ec9b-4226-a1b6-6c53716b8372",
126
+ "AuthorisationServerId": "abd2a7e0-ebdf-4302-b059-d8878d1ef41a",
127
+ "Status": "Awaiting Certification",
128
+ "ProfileVariant": "address",
129
+ "ProfileType": "ConnectID Claims",
130
+ "ProfileVersion": 1,
131
+ "CertificationURI": "https://cdn.dev.connectid.com.au/certification/certification-result.zip"
132
+ },
133
+ {
134
+ "CertificationStartDate": "22/07/2023",
135
+ "CertificationExpirationDate": "21/07/2024",
136
+ "CertificationId": "979fe2a6-49c9-4908-aae2-af1a077b9e63",
137
+ "AuthorisationServerId": "abd2a7e0-ebdf-4302-b059-d8878d1ef41a",
138
+ "Status": "Certified",
139
+ "ProfileVariant": "Identity Provider",
140
+ "ProfileType": "TDIF Accreditation",
141
+ "ProfileVersion": 1,
142
+ "CertificationURI": "https://cdn.dev.connectid.com.au/certification/certification-result.zip"
143
+ },
144
+ ],
145
+ "CustomerFriendlyDescription": "Bank C",
146
+ "CustomerFriendlyLogoUri": "https://static.sandbox.connectid.com.au/BankC.svg",
147
+ "CustomerFriendlyName": "Mock Bank C",
148
+ "DeveloperPortalUri": null,
149
+ "TermsOfServiceUri": null,
150
+ "NotificationWebhookAddedDate": null,
151
+ "OpenIDDiscoveryDocument": "https://auth.bank2.directory.sandbox.connectid.com.au/.well-known/openid-configuration",
152
+ "Issuer": "https://auth.bank2.directory.sandbox.connectid.com.au",
153
+ "PayloadSigningCertLocationUri": "https://auth.bank2.directory.sandbox.connectid.com.au/na",
154
+ "CreatedAt": 1659631475,
155
+ "ParentAuthorisationServerId": null,
156
+ "DeprecatedDate": null,
157
+ "RetirementDate": null,
158
+ "SupersededByAuthorisationServerId": null
159
+ }
160
+ ],
161
+ "OrgDomainClaims": [
162
+ {
163
+ "AuthorisationDomainName": "connectID",
164
+ "AuthorityName": "connectID",
165
+ "RegistrationId": "",
166
+ "Status": "Active"
167
+ }
168
+ ],
169
+ "OrgDomainRoleClaims": [
170
+ {
171
+ "Status": "Active",
172
+ "AuthorisationDomain": "connectID",
173
+ "Role": "RP-CORE",
174
+ "Authorisations": [],
175
+ "RegistrationId": "6f3a06f2-97cc-4132-8f9d-83f605fb7a10",
176
+ "RoleType": "Federation",
177
+ "Exclusive": false,
178
+ "Metadata": [
179
+ {
180
+ "MetadataId": "109bcd54-2914-4f98-90b9-be2647819e7f",
181
+ "DomainRoleName": "RP-CORE",
182
+ "Type": "claim",
183
+ "Name": "email"
184
+ },
185
+ ]
186
+ },
187
+ {
188
+ "Status": "Active",
189
+ "AuthorisationDomain": "connectID",
190
+ "Role": "IDP",
191
+ "Authorisations": [],
192
+ "RegistrationId": "IDP",
193
+ "RoleType": "Directory",
194
+ "Exclusive": false,
195
+ "Metadata": []
196
+ }
197
+ ]
198
+ },
199
+ {
200
+ "OrganisationId": "908e5e23-d163-47ee-806a-39d6ae2884be",
201
+ "Status": "Active",
202
+ "OrganisationName": "Paul R Test Org",
203
+ "CreatedOn": "2022-08-02T04:07:32.230Z",
204
+ "LegalEntityName": "Paul R Test Org",
205
+ "CountryOfRegistration": "AU",
206
+ "CompanyRegister": "ABN",
207
+ "Tag": [],
208
+ "Size": "",
209
+ "RegistrationNumber": "1234567890",
210
+ "RegistrationId": null,
211
+ "RegisteredName": "Paul R Test Org",
212
+ "AddressLine1": "Level 1",
213
+ "AddressLine2": "255 George St",
214
+ "City": "Sydney",
215
+ "Postcode": "2000",
216
+ "Country": "AU",
217
+ "ParentOrganisationReference": "",
218
+ "AuthorisationServers": [
219
+ {
220
+ "AuthorisationServerId": "6a3b1012-d5c8-4e08-b280-313051d24004",
221
+ "AutoRegistrationSupported": false,
222
+ "AutoRegistrationNotificationWebhook": null,
223
+ "SupportsCiba": false,
224
+ "SupportsDCR": false,
225
+ "SupportsRedirect": false,
226
+ "ApiResources": [],
227
+ "AuthorisationServerCertifications": [
228
+ {
229
+ "CertificationStartDate": "19/09/2023",
230
+ "CertificationExpirationDate": "19/05/2024",
231
+ "CertificationId": "f4470c34-f52e-4011-af97-77a99c74991f",
232
+ "AuthorisationServerId": "6a3b1012-d5c8-4e08-b280-313051d24004",
233
+ "Status": "Self-Certified",
234
+ "ProfileVariant": "Identity Provider",
235
+ "ProfileType": "TDIF Accreditation",
236
+ "ProfileVersion": 2,
237
+ "CertificationURI": "https://static.relyingparty.net/text.zip"
238
+ },
239
+ {
240
+ "CertificationStartDate": "19/09/2023",
241
+ "CertificationExpirationDate": "19/05/2024",
242
+ "CertificationId": "a42736d9-a6d1-4472-996f-35f246f6b45c",
243
+ "AuthorisationServerId": "6a3b1012-d5c8-4e08-b280-313051d24004",
244
+ "Status": "Awaiting Certification",
245
+ "ProfileVariant": "over18",
246
+ "ProfileType": "ConnectID Claims",
247
+ "ProfileVersion": 2,
248
+ "CertificationURI": "https://static.relyingparty.net/text.zip"
249
+ },
250
+ {
251
+ "CertificationStartDate": "11/04/2023",
252
+ "CertificationExpirationDate": "19/05/2024",
253
+ "CertificationId": "69f275e5-9787-40c0-88b6-1a9508929153",
254
+ "AuthorisationServerId": "6a3b1012-d5c8-4e08-b280-313051d24004",
255
+ "Status": "Deprecated",
256
+ "ProfileVariant": "birthdate",
257
+ "ProfileType": "ConnectID Claims",
258
+ "ProfileVersion": 1,
259
+ "CertificationURI": "https://cdn.dev.connectid.com.au/certification/certification-result.zip"
260
+ },
261
+ {
262
+ "CertificationStartDate": "15/06/2023",
263
+ "CertificationExpirationDate": "14/06/2024",
264
+ "CertificationId": "5bf07a24-ec9b-4226-a1b6-6c53716b8388",
265
+ "AuthorisationServerId": "6a3b1012-d5c8-4e08-b280-313051d24004",
266
+ "Status": "Awaiting Certification",
267
+ "ProfileVariant": "address",
268
+ "ProfileType": "ConnectID Claims",
269
+ "ProfileVersion": 1,
270
+ "CertificationURI": "https://cdn.dev.connectid.com.au/certification/certification-result.zip"
271
+ },
272
+ ],
273
+ "CustomerFriendlyDescription": "Do not use - Paul's Test Bank",
274
+ "CustomerFriendlyLogoUri": "https://static.sandbox.connectid.com.au/BankW.svg",
275
+ "CustomerFriendlyName": "zz - Do not use - Paul's \"Test\" Auth Server",
276
+ "DeveloperPortalUri": null,
277
+ "TermsOfServiceUri": null,
278
+ "NotificationWebhookAddedDate": null,
279
+ "OpenIDDiscoveryDocument": "https://auth.bank1.directory.sandbox.connectid.com.au/.well-known/openid-configuration",
280
+ "Issuer": "https://auth.bank1.directory.sandbox.connectid.com.au",
281
+ "PayloadSigningCertLocationUri": "https://auth.bank1.directory.sandbox.connectid.com.au/na",
282
+ "CreatedAt": 1659487163,
283
+ "ParentAuthorisationServerId": null,
284
+ "DeprecatedDate": [
285
+ 2050,
286
+ 1,
287
+ 2
288
+ ],
289
+ "RetirementDate": [
290
+ 2050,
291
+ 1,
292
+ 3
293
+ ],
294
+ "SupersededByAuthorisationServerId": null
295
+ }
296
+ ],
297
+ "OrgDomainClaims": [
298
+ {
299
+ "AuthorisationDomainName": "connectID",
300
+ "AuthorityName": "connectID",
301
+ "RegistrationId": "3c51324d-0591-4e03-9eec-d5fa311fadb2",
302
+ "Status": "Active"
303
+ }
304
+ ],
305
+ "OrgDomainRoleClaims": [
306
+ {
307
+ "Status": "Active",
308
+ "AuthorisationDomain": "connectID",
309
+ "Role": "IDP",
310
+ "Authorisations": [],
311
+ "RegistrationId": "idp",
312
+ "RoleType": "Directory",
313
+ "Exclusive": false,
314
+ "Metadata": []
315
+ },
316
+ {
317
+ "Status": "Active",
318
+ "AuthorisationDomain": "connectID",
319
+ "Role": "RS",
320
+ "Authorisations": [],
321
+ "RegistrationId": "0c37262d-5e4c-4699-b5a0-a30f1f83468e",
322
+ "RoleType": "Directory",
323
+ "Exclusive": false,
324
+ "Metadata": []
325
+ },
326
+ {
327
+ "Status": "Active",
328
+ "AuthorisationDomain": "connectID",
329
+ "Role": "RP-CORE",
330
+ "Authorisations": [],
331
+ "RegistrationId": "081ee8c8-456b-45b6-a0f4-c55804867e96",
332
+ "RoleType": "Federation",
333
+ "Exclusive": false,
334
+ "Metadata": [
335
+ {
336
+ "MetadataId": "109bcd54-2914-4f98-90b9-be2647819e7f",
337
+ "DomainRoleName": "RP-CORE",
338
+ "Type": "claim",
339
+ "Name": "email"
340
+ }
341
+ ]
342
+ }
343
+ ]
344
+ },
345
+ {
346
+ "OrganisationId": "908e5e23-d163-47ee-806a-39d6ae288654",
347
+ "Status": "Active",
348
+ "OrganisationName": "Fallback Org",
349
+ "CreatedOn": "2022-08-02T04:07:32.230Z",
350
+ "LegalEntityName": "Fallback Org",
351
+ "CountryOfRegistration": "AU",
352
+ "CompanyRegister": "ABN",
353
+ "Tag": [],
354
+ "Size": "",
355
+ "RegistrationNumber": "1234567890",
356
+ "RegistrationId": null,
357
+ "RegisteredName": "Paul R Test Org",
358
+ "AddressLine1": "Level 1",
359
+ "AddressLine2": "255 George St",
360
+ "City": "Sydney",
361
+ "Postcode": "2000",
362
+ "Country": "AU",
363
+ "ParentOrganisationReference": "",
364
+ "AuthorisationServers": [
365
+ {
366
+ "AuthorisationServerId": "154fa724-4177-44f5-8b8c-05572ce247da",
367
+ "AutoRegistrationSupported": false,
368
+ "AutoRegistrationNotificationWebhook": null,
369
+ "SupportsCiba": false,
370
+ "SupportsDCR": false,
371
+ "SupportsRedirect": false,
372
+ "ApiResources": [],
373
+ "AuthorisationServerCertifications": [
374
+ {
375
+ "CertificationStartDate": "19/05/2023",
376
+ "CertificationExpirationDate": "19/05/2024",
377
+ "CertificationId": "f4470c34-f52e-4011-af97-77a99c74992s",
378
+ "AuthorisationServerId": "154fa724-4177-44f5-8b8c-05572ce24333",
379
+ "Status": "Certified",
380
+ "ProfileVariant": "Fallback Identity Service Provider",
381
+ "ProfileType": "ConnectID",
382
+ "ProfileVersion": 2,
383
+ "CertificationURI": "https://static.relyingparty.net/text.zip"
384
+ }
385
+ ],
386
+ "CustomerFriendlyDescription": "Do not use - Paul's Test Bank",
387
+ "CustomerFriendlyLogoUri": "https://static.sandbox.connectid.com.au/BankW.svg",
388
+ "CustomerFriendlyName": "zz - Do not use - Paul's \"Test\" Auth Server",
389
+ "DeveloperPortalUri": null,
390
+ "TermsOfServiceUri": null,
391
+ "NotificationWebhookAddedDate": null,
392
+ "OpenIDDiscoveryDocument": "https://auth.manual.directory.sandbox.connectid.com.au/.well-known/openid-configuration",
393
+ "Issuer": "https://auth.manual.directory.sandbox.connectid.com.au",
394
+ "PayloadSigningCertLocationUri": "https://auth.manual.directory.sandbox.connectid.com.au/na",
395
+ "CreatedAt": 1659487163,
396
+ "ParentAuthorisationServerId": null,
397
+ "DeprecatedDate": [
398
+ 2050,
399
+ 1,
400
+ 2
401
+ ],
402
+ "RetirementDate": [
403
+ 2050,
404
+ 1,
405
+ 3
406
+ ],
407
+ "SupersededByAuthorisationServerId": null
408
+ }
409
+ ],
410
+ "OrgDomainClaims": [
411
+ {
412
+ "AuthorisationDomainName": "connectID",
413
+ "AuthorityName": "connectID",
414
+ "RegistrationId": "3c51324d-0591-4e03-9eec-d5fa311fadb2",
415
+ "Status": "Active"
416
+ }
417
+ ],
418
+ "OrgDomainRoleClaims": [
419
+ {
420
+ "Status": "Active",
421
+ "AuthorisationDomain": "connectID",
422
+ "Role": "IDP",
423
+ "Authorisations": [],
424
+ "RegistrationId": "idp",
425
+ "RoleType": "Directory",
426
+ "Exclusive": false,
427
+ "Metadata": []
428
+ },
429
+ {
430
+ "Status": "Active",
431
+ "AuthorisationDomain": "connectID",
432
+ "Role": "RS",
433
+ "Authorisations": [],
434
+ "RegistrationId": "0c37262d-5e4c-4699-b5a0-a30f1f83468e",
435
+ "RoleType": "Directory",
436
+ "Exclusive": false,
437
+ "Metadata": []
438
+ },
439
+ {
440
+ "Status": "Active",
441
+ "AuthorisationDomain": "connectID",
442
+ "Role": "RP-CORE",
443
+ "Authorisations": [],
444
+ "RegistrationId": "081ee8c8-456b-45b6-a0f4-c55804867e96",
445
+ "RoleType": "Federation",
446
+ "Exclusive": false,
447
+ "Metadata": [
448
+ {
449
+ "MetadataId": "109bcd54-2914-4f98-90b9-be2647819e7f",
450
+ "DomainRoleName": "RP-CORE",
451
+ "Type": "claim",
452
+ "Name": "email"
453
+ }
454
+ ]
455
+ }
456
+ ]
457
+ },
458
+ ];