@polaris-auth/client 0.0.0-stage → 0.6.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.
- package/LICENSE +21 -0
- package/README.md +95 -2
- package/dist/admin.d.ts +9532 -0
- package/dist/admin.js +63 -0
- package/dist/audit.d.ts +944 -0
- package/dist/audit.js +11 -0
- package/dist/challenge.d.ts +17 -0
- package/dist/challenge.js +59 -0
- package/dist/index.d.ts +57 -0
- package/dist/index.js +45 -0
- package/dist/namespace.d.ts +15 -0
- package/dist/namespace.js +1 -0
- package/dist/scim.d.ts +6656 -0
- package/dist/scim.js +49 -0
- package/dist/sentinel.d.ts +1564 -0
- package/dist/sentinel.js +15 -0
- package/dist/sso.d.ts +6455 -0
- package/dist/sso.js +45 -0
- package/openapi.json +15005 -0
- package/package.json +46 -5
- package/src/admin.ts +70 -0
- package/src/audit.ts +18 -0
- package/src/challenge.ts +80 -0
- package/src/index.ts +87 -0
- package/src/namespace.ts +13 -0
- package/src/schema.d.ts +10645 -0
- package/src/scim.ts +56 -0
- package/src/sentinel.ts +22 -0
- package/src/sso.ts +52 -0
package/dist/scim.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/** The `scim` plugin's routes as methods of `client.scim`. */
|
|
2
|
+
export function scim(client) {
|
|
3
|
+
return {
|
|
4
|
+
/** DELETE /admin/scim/connections/{id}: Remove a SCIM connection (operator) */
|
|
5
|
+
adminDeleteConnection: (...init) => client.DELETE("/admin/scim/connections/{id}", ...init),
|
|
6
|
+
/** GET /admin/scim/connections: List the SCIM connections of every organization */
|
|
7
|
+
adminListConnections: (...init) => client.GET("/admin/scim/connections", ...init),
|
|
8
|
+
/** POST /orgs/{id}/scim/connections: Create a SCIM connection */
|
|
9
|
+
createConnection: (...init) => client.POST("/orgs/{id}/scim/connections", ...init),
|
|
10
|
+
/** POST /scim/v2/{connectionId}/Groups: Create a SCIM group */
|
|
11
|
+
createGroup: (...init) => client.POST("/scim/v2/{connectionId}/Groups", ...init),
|
|
12
|
+
/** POST /scim/v2/{connectionId}/Users: Create a SCIM user */
|
|
13
|
+
createUser: (...init) => client.POST("/scim/v2/{connectionId}/Users", ...init),
|
|
14
|
+
/** DELETE /orgs/{id}/scim/connections/{connectionId}: Decommission a SCIM connection */
|
|
15
|
+
decommissionConnection: (...init) => client.DELETE("/orgs/{id}/scim/connections/{connectionId}", ...init),
|
|
16
|
+
/** DELETE /scim/v2/{connectionId}/Groups/{id}: Delete a SCIM group */
|
|
17
|
+
deleteGroup: (...init) => client.DELETE("/scim/v2/{connectionId}/Groups/{id}", ...init),
|
|
18
|
+
/** DELETE /scim/v2/{connectionId}/Users/{id}: Delete a SCIM user */
|
|
19
|
+
deleteUser: (...init) => client.DELETE("/scim/v2/{connectionId}/Users/{id}", ...init),
|
|
20
|
+
/** GET /orgs/{id}/scim/connections: List the organization's SCIM connections */
|
|
21
|
+
listConnections: (...init) => client.GET("/orgs/{id}/scim/connections", ...init),
|
|
22
|
+
/** GET /scim/v2/{connectionId}/Groups: List SCIM groups */
|
|
23
|
+
listGroups: (...init) => client.GET("/scim/v2/{connectionId}/Groups", ...init),
|
|
24
|
+
/** GET /scim/v2/{connectionId}/Users: List SCIM users */
|
|
25
|
+
listUsers: (...init) => client.GET("/scim/v2/{connectionId}/Users", ...init),
|
|
26
|
+
/** PATCH /scim/v2/{connectionId}/Groups/{id}: Patch a SCIM group */
|
|
27
|
+
patchGroup: (...init) => client.PATCH("/scim/v2/{connectionId}/Groups/{id}", ...init),
|
|
28
|
+
/** PATCH /scim/v2/{connectionId}/Users/{id}: Patch a SCIM user */
|
|
29
|
+
patchUser: (...init) => client.PATCH("/scim/v2/{connectionId}/Users/{id}", ...init),
|
|
30
|
+
/** GET /orgs/{id}/scim/connections/{connectionId}: Read a SCIM connection */
|
|
31
|
+
readConnection: (...init) => client.GET("/orgs/{id}/scim/connections/{connectionId}", ...init),
|
|
32
|
+
/** GET /scim/v2/{connectionId}/Groups/{id}: Read a SCIM group */
|
|
33
|
+
readGroup: (...init) => client.GET("/scim/v2/{connectionId}/Groups/{id}", ...init),
|
|
34
|
+
/** GET /scim/v2/{connectionId}/Users/{id}: Read a SCIM user */
|
|
35
|
+
readUser: (...init) => client.GET("/scim/v2/{connectionId}/Users/{id}", ...init),
|
|
36
|
+
/** PUT /scim/v2/{connectionId}/Groups/{id}: Replace a SCIM group */
|
|
37
|
+
replaceGroup: (...init) => client.PUT("/scim/v2/{connectionId}/Groups/{id}", ...init),
|
|
38
|
+
/** PUT /scim/v2/{connectionId}/Users/{id}: Replace a SCIM user */
|
|
39
|
+
replaceUser: (...init) => client.PUT("/scim/v2/{connectionId}/Users/{id}", ...init),
|
|
40
|
+
/** GET /scim/v2/{connectionId}/ResourceTypes: SCIM resource types */
|
|
41
|
+
resourceTypes: (...init) => client.GET("/scim/v2/{connectionId}/ResourceTypes", ...init),
|
|
42
|
+
/** POST /orgs/{id}/scim/connections/{connectionId}/rotate: Rotate a SCIM connection token */
|
|
43
|
+
rotateConnection: (...init) => client.POST("/orgs/{id}/scim/connections/{connectionId}/rotate", ...init),
|
|
44
|
+
/** GET /scim/v2/{connectionId}/Schemas: SCIM schemas */
|
|
45
|
+
schemas: (...init) => client.GET("/scim/v2/{connectionId}/Schemas", ...init),
|
|
46
|
+
/** GET /scim/v2/{connectionId}/ServiceProviderConfig: SCIM service provider configuration */
|
|
47
|
+
serviceProviderConfig: (...init) => client.GET("/scim/v2/{connectionId}/ServiceProviderConfig", ...init),
|
|
48
|
+
};
|
|
49
|
+
}
|