@burgan-tech/morph-idm-runtime 0.0.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/LICENSE +21 -0
- package/README.md +245 -0
- package/burgan-tech-morph-idm-runtime-0.0.0.tgz +0 -0
- package/morph-idm/Extensions/.gitkeep +0 -0
- package/morph-idm/Functions/.gitkeep +0 -0
- package/morph-idm/Functions/user/function-validate-user.json +31 -0
- package/morph-idm/Functions/user/src/ValidateUser.csx +39 -0
- package/morph-idm/Mappings/device-register-evaluate-get-device-request.mapper.json +319 -0
- package/morph-idm/Mappings/device-register-evaluate-get-device-response.mapper.json +761 -0
- package/morph-idm/Mappings/device-register-new-device-call-device-start-request.mapper.json +762 -0
- package/morph-idm/Mappings/device-register-start.mapper.json +971 -0
- package/morph-idm/Mappings/device-start-request.mapper.json +20 -0
- package/morph-idm/Mappings/device-start.mapper.json +896 -0
- package/morph-idm/Mappings/device-update-request.mapper.json +883 -0
- package/morph-idm/Mappings/token-start-request.mapper.json +436 -0
- package/morph-idm/Schemas/approval-matrix/approval-matrix-master-1.0.0.json +98 -0
- package/morph-idm/Schemas/approval-matrix/approval-matrix-update-1.0.0.json +85 -0
- package/morph-idm/Schemas/client/client-master-1.0.0.json +293 -0
- package/morph-idm/Schemas/client/client-update-master-1.0.0.json +201 -0
- package/morph-idm/Schemas/consent/consent-master-1.0.0.json +151 -0
- package/morph-idm/Schemas/device/device-master-1.0.0.json +433 -0
- package/morph-idm/Schemas/device/device-register-master-1.0.0.json +300 -0
- package/morph-idm/Schemas/device/device-register-start-1.0.0.json +270 -0
- package/morph-idm/Schemas/device/device-start-1.0.0.json +281 -0
- package/morph-idm/Schemas/device/device-update-1.0.0.json +275 -0
- package/morph-idm/Schemas/headers-1.0.0.json +245 -0
- package/morph-idm/Schemas/organization/organization-master-1.0.0.json +386 -0
- package/morph-idm/Schemas/organization/organization-update-1.0.0.json +60 -0
- package/morph-idm/Schemas/privilege/privilege-master-1.0.0.json +84 -0
- package/morph-idm/Schemas/privilege/privilege-update-1.0.0.json +76 -0
- package/morph-idm/Schemas/scope/scope-group-master-1.0.0.json +52 -0
- package/morph-idm/Schemas/scope/scope-master-1.0.0.json +120 -0
- package/morph-idm/Schemas/token/token-master-1.0.0.json +346 -0
- package/morph-idm/Schemas/token/token-start-1.0.0.json +50 -0
- package/morph-idm/Schemas/transaction-limit/transaction-limit-master-1.0.0.json +175 -0
- package/morph-idm/Schemas/transaction-limit/transaction-limit-update-1.0.0.json +90 -0
- package/morph-idm/Schemas/user/person-master-1.0.0.json +211 -0
- package/morph-idm/Schemas/user/user-master-1.0.0.json +121 -0
- package/morph-idm/Tasks/.gitkeep +0 -0
- package/morph-idm/Tasks/call-device-start-1.0.0.json +21 -0
- package/morph-idm/Tasks/call-device-update-1.0.0.json +21 -0
- package/morph-idm/Tasks/client/client-create-rsa.json +26 -0
- package/morph-idm/Tasks/client/client-password-generator.json +14 -0
- package/morph-idm/Tasks/client/get-client-by-task.json +18 -0
- package/morph-idm/Tasks/consent/get-consent-by-task.json +18 -0
- package/morph-idm/Tasks/consent/get-multi-consents-by-task.json +25 -0
- package/morph-idm/Tasks/device/get-device-by-task.json +18 -0
- package/morph-idm/Tasks/get-device-1.0.0.json +20 -0
- package/morph-idm/Tasks/scope/get-scope-by-task.json +17 -0
- package/morph-idm/Tasks/scope/scope-by-user-task.json +25 -0
- package/morph-idm/Tasks/scope/scope-details-task.json +25 -0
- package/morph-idm/Tasks/token/send-token-to-main.json +20 -0
- package/morph-idm/Tasks/token/token-create-jwt.json +27 -0
- package/morph-idm/Tasks/user/get-user-by-task.json +18 -0
- package/morph-idm/Tasks/user/send-otp-task.json +25 -0
- package/morph-idm/Tasks/user/send-push-task.json +22 -0
- package/morph-idm/Tasks/user/user-password-generator.json +26 -0
- package/morph-idm/Tasks/user/verify-otp-task.json +22 -0
- package/morph-idm/Tasks/user/verify-push-task.json +22 -0
- package/morph-idm/Views/.gitkeep +0 -0
- package/morph-idm/Workflows/.gitkeep +0 -0
- package/morph-idm/Workflows/approval-matrix/approval-1.0.0.json +452 -0
- package/morph-idm/Workflows/approval-matrix/approval-matrix-1.0.0.json +184 -0
- package/morph-idm/Workflows/client/client-1.0.0.json +257 -0
- package/morph-idm/Workflows/client/client-update-1.0.0.json +202 -0
- package/morph-idm/Workflows/client/execute/client.http +377 -0
- package/morph-idm/Workflows/client/src/ClientCreateRsa.csx +198 -0
- package/morph-idm/Workflows/client/src/ClientCreateRsaByScript.csx +118 -0
- package/morph-idm/Workflows/client/src/CreateRsaByHttpCallMapping.csx +223 -0
- package/morph-idm/Workflows/client/src/PasswordGeneratorMapping.csx +26 -0
- package/morph-idm/Workflows/client/src/RsaExistsRule.csx +44 -0
- package/morph-idm/Workflows/client-manager/client-manager-1.0.0.json +217 -0
- package/morph-idm/Workflows/client-manager/execute/client-manager.http +214 -0
- package/morph-idm/Workflows/client-manager/src/ClientCreatedRule.csx +28 -0
- package/morph-idm/Workflows/client-manager/src/ClientExistsRule.csx +25 -0
- package/morph-idm/Workflows/client-manager/src/CreateClientSubFlowMapping.csx +63 -0
- package/morph-idm/Workflows/client-manager/src/GetClientForManagerMapping.csx +59 -0
- package/morph-idm/Workflows/consent/consent-1.0.0.json +424 -0
- package/morph-idm/Workflows/consent/execute/README.md +167 -0
- package/morph-idm/Workflows/consent/execute/consent-invitation-flow.http +283 -0
- package/morph-idm/Workflows/consent/execute/create-consent.http +780 -0
- package/morph-idm/Workflows/consent/src/AutoConsentRule.csx +29 -0
- package/morph-idm/Workflows/consent/src/ConsentTimeoutTimer.csx +14 -0
- package/morph-idm/Workflows/consent-selection/consent-selection-1.0.0.json +331 -0
- package/morph-idm/Workflows/consent-selection/src/AutoConsentCreatedRule.csx +28 -0
- package/morph-idm/Workflows/consent-selection/src/ConsentFetchMapping.csx +82 -0
- package/morph-idm/Workflows/consent-selection/src/ConsentSelectedMapping.csx +70 -0
- package/morph-idm/Workflows/consent-selection/src/CreateAutoConsentMapping.csx +150 -0
- package/morph-idm/Workflows/consent-selection/src/MultipleConsentsRule.csx +31 -0
- package/morph-idm/Workflows/consent-selection/src/NoConsentEligibleRule.csx +44 -0
- package/morph-idm/Workflows/consent-selection/src/SingleConsentRule.csx +45 -0
- package/morph-idm/Workflows/device/device-1.0.0.json +261 -0
- package/morph-idm/Workflows/device/device-migration-1.0.0.json +213 -0
- package/morph-idm/Workflows/device/device-register-1.0.0-documentation.md +646 -0
- package/morph-idm/Workflows/device/device-register-1.0.0-documentation.svg +36 -0
- package/morph-idm/Workflows/device/device-register-1.0.0.json +185 -0
- package/morph-idm/Workflows/device/execute/device-android.http +260 -0
- package/morph-idm/Workflows/device/execute/device-huawei.http +219 -0
- package/morph-idm/Workflows/device/execute/device-ios.http +325 -0
- package/morph-idm/Workflows/device/execute/device-web.http +284 -0
- package/morph-idm/Workflows/device/src/DeviceCreatedRule.csx +32 -0
- package/morph-idm/Workflows/device/src/DeviceFoundRule.csx +32 -0
- package/morph-idm/Workflows/device/src/DeviceNotFoundRule.csx +28 -0
- package/morph-idm/Workflows/device/src/DeviceUpdatedRule.csx +26 -0
- package/morph-idm/Workflows/device/src/NoUpdateRule.csx +19 -0
- package/morph-idm/Workflows/device/src/ReInstallRule.csx +19 -0
- package/morph-idm/Workflows/document-validation/_FF_document-validation.json +423 -0
- package/morph-idm/Workflows/document-validation/src/ApproveRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ClassifyRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ExtractRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/HitlRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/RejectRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/RunOcrRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/StartRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ToAggregateRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ToFraudRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ToReferentialRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ToSemanticRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ToStructuralRule.csx +16 -0
- package/morph-idm/Workflows/organization/execute/create-organization.http +280 -0
- package/morph-idm/Workflows/organization/organization-1.0.0-documentation.md +616 -0
- package/morph-idm/Workflows/organization/organization-1.0.0.json +181 -0
- package/morph-idm/Workflows/privilege/privilege-1.0.0.json +185 -0
- package/morph-idm/Workflows/scope/execute/scope-24-7-access.http +131 -0
- package/morph-idm/Workflows/scope/execute/scope-business-hours.http +138 -0
- package/morph-idm/Workflows/scope/execute/scope-corporate.http +165 -0
- package/morph-idm/Workflows/scope/execute/scope-individual.http +133 -0
- package/morph-idm/Workflows/scope/execute/scope-lifecycle-test.http +133 -0
- package/morph-idm/Workflows/scope/execute/scope-multi-systems.http +159 -0
- package/morph-idm/Workflows/scope/execute/scope-restricted.http +143 -0
- package/morph-idm/Workflows/scope/scope-1.0.0.json +142 -0
- package/morph-idm/Workflows/scope/scope-group-1.0.0.json +144 -0
- package/morph-idm/Workflows/scope-group/execute/create-scope-group.http +222 -0
- package/morph-idm/Workflows/token/execute/README.md +450 -0
- package/morph-idm/Workflows/token/execute/token.http +236 -0
- package/morph-idm/Workflows/token/oauth-authentication-workflow.json +406 -0
- package/morph-idm/Workflows/token/password-subflow.json +173 -0
- package/morph-idm/Workflows/token/scope-cdc-worker.1.0.0.json +46 -0
- package/morph-idm/Workflows/token/src/CreateRsaJwtMapping.csx +208 -0
- package/morph-idm/Workflows/token/src/ExpireTokenTimer.csx +14 -0
- package/morph-idm/Workflows/token/src/PrepareAuthorizationCodeRule.csx +16 -0
- package/morph-idm/Workflows/token/src/RequestInappropriateRule.csx +16 -0
- package/morph-idm/Workflows/token/src/SendJwtToMainMapping.csx +167 -0
- package/morph-idm/Workflows/token/token-1.0.0.json +356 -0
- package/morph-idm/Workflows/token/token-1.0.0.openapi.json.md +707 -0
- package/morph-idm/Workflows/token/token-exchange.1.0.0.json +45 -0
- package/morph-idm/Workflows/transaction-limit/transaction-limit-1.0.0.json +244 -0
- package/morph-idm/Workflows/transaction-limit/transaction-limit-authorization.json +502 -0
- package/morph-idm/Workflows/transaction-limit/transaction-limit-capture.json +142 -0
- package/morph-idm/Workflows/user/execute/README-LOGIN.md +535 -0
- package/morph-idm/Workflows/user/execute/create-user-1234567890.http +116 -0
- package/morph-idm/Workflows/user/execute/create-user-minimal.http +22 -0
- package/morph-idm/Workflows/user/execute/create-user-person-password.http +130 -0
- package/morph-idm/Workflows/user/execute/create-user-person.http +249 -0
- package/morph-idm/Workflows/user/execute/create-user-system.http +16 -0
- package/morph-idm/Workflows/user/execute/user-login.http +583 -0
- package/morph-idm/Workflows/user/execute/user-requests.http +51 -0
- package/morph-idm/Workflows/user/person-1.0.0.json +140 -0
- package/morph-idm/Workflows/user/person-cdc-worker.1.0.0.json +46 -0
- package/morph-idm/Workflows/user/person-upsert-1.0.0.json +129 -0
- package/morph-idm/Workflows/user/src/ApproveRule.csx +16 -0
- package/morph-idm/Workflows/user/src/AutoConsentCreatedRule.csx +20 -0
- package/morph-idm/Workflows/user/src/AutoConsentRequiredRule.csx +77 -0
- package/morph-idm/Workflows/user/src/CheckDeviceByUserReferenceMapping.csx +66 -0
- package/morph-idm/Workflows/user/src/ClientValidationFailRule.csx +28 -0
- package/morph-idm/Workflows/user/src/ClientValidationRule.csx +25 -0
- package/morph-idm/Workflows/user/src/ConsentSelectedRule.csx +24 -0
- package/morph-idm/Workflows/user/src/ConsentValidationRule.csx +36 -0
- package/morph-idm/Workflows/user/src/CreateAutoConsentMapping.csx +171 -0
- package/morph-idm/Workflows/user/src/DeviceFoundForLoginRule.csx +32 -0
- package/morph-idm/Workflows/user/src/DeviceNotFoundForLoginRule.csx +31 -0
- package/morph-idm/Workflows/user/src/GetClientMapping.csx +45 -0
- package/morph-idm/Workflows/user/src/GetConsentMapping.csx +27 -0
- package/morph-idm/Workflows/user/src/GetDeviceMapping.csx +52 -0
- package/morph-idm/Workflows/user/src/GetScopeMapping.csx +139 -0
- package/morph-idm/Workflows/user/src/GetScopesByUserMapping.csx +137 -0
- package/morph-idm/Workflows/user/src/GetUserMapping.csx +39 -0
- package/morph-idm/Workflows/user/src/GrantValidationFailRule.csx +48 -0
- package/morph-idm/Workflows/user/src/GrantValidationRule.csx +45 -0
- package/morph-idm/Workflows/user/src/IsIbWebClientWithDeviceRule.csx +42 -0
- package/morph-idm/Workflows/user/src/NonIbWebClientWithDeviceRule.csx +42 -0
- package/morph-idm/Workflows/user/src/OtpSentRule.csx +31 -0
- package/morph-idm/Workflows/user/src/OtpVerifiedRule.csx +31 -0
- package/morph-idm/Workflows/user/src/PushSentRule.csx +31 -0
- package/morph-idm/Workflows/user/src/PushVerifiedRule.csx +31 -0
- package/morph-idm/Workflows/user/src/RejectRule.csx +16 -0
- package/morph-idm/Workflows/user/src/ScopeFetchedRule.csx +35 -0
- package/morph-idm/Workflows/user/src/ScopeValidationFailRule.csx +67 -0
- package/morph-idm/Workflows/user/src/ScopeValidationRule.csx +67 -0
- package/morph-idm/Workflows/user/src/SendOtpMapping.csx +94 -0
- package/morph-idm/Workflows/user/src/SendPushMapping.csx +90 -0
- package/morph-idm/Workflows/user/src/TokenGenerationSuccessRule.csx +28 -0
- package/morph-idm/Workflows/user/src/TriggerConsentSelectionAsSubFlowMapping.csx +63 -0
- package/morph-idm/Workflows/user/src/TriggerTokenWorkflowAsSubFlowMapping.csx +42 -0
- package/morph-idm/Workflows/user/src/UserPasswordGeneratorMapping.csx +190 -0
- package/morph-idm/Workflows/user/src/UserValidationFailRule.csx +36 -0
- package/morph-idm/Workflows/user/src/UserValidationRule.csx +38 -0
- package/morph-idm/Workflows/user/src/VerifyOtpMapping.csx +65 -0
- package/morph-idm/Workflows/user/src/VerifyPushMapping.csx +65 -0
- package/morph-idm/Workflows/user/user-1.0.0.json +400 -0
- package/morph-idm/Workflows/user/user-force-update.1.0.0.json +46 -0
- package/morph-idm/Workflows/user/user-login-certificate.1.0.0.json +46 -0
- package/morph-idm/Workflows/user/user-login.1.0.0.json +1144 -0
- package/morph-idm/Workflows/user/user-password-reset.1.0.0.json +45 -0
- package/package.json +21 -0
- package/vnext.config.json +58 -0
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "BUSINESS CONTEXT: Client represents OAuth2/OIDC client applications (mobile apps, web apps, SPAs). Defines authentication flows, token policies, and security settings for each application.",
|
|
3
|
+
"key": "client-master",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"domain": "morph-idm",
|
|
6
|
+
"flow": "sys-schemas",
|
|
7
|
+
"flowVersion": "1.0.0",
|
|
8
|
+
"tags": [
|
|
9
|
+
"morph-idm",
|
|
10
|
+
"schema"
|
|
11
|
+
],
|
|
12
|
+
"attributes": {
|
|
13
|
+
"type": "workflow",
|
|
14
|
+
"schema": {
|
|
15
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
16
|
+
"$id": "https://vnext.io/schemas/core/client-master.json",
|
|
17
|
+
"title": "Client",
|
|
18
|
+
"description": "OAuth2/OIDC client application configuration. Contains technical configurations and behavior settings for the client.",
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"allowedGrants": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"items": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"description": "List of authorized OAuth2 grant types for this client (e.g., authorization_code, client_credentials, etc.)"
|
|
27
|
+
},
|
|
28
|
+
"allowedFirstFactor": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": [
|
|
33
|
+
"password",
|
|
34
|
+
"pin",
|
|
35
|
+
"sldap"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"description": "List of allowed first-factor authentication methods for this client. Determines whether users can login with password, SLDAP, or both. For example, backoffice employees can use passwords while local SLDAP users can also authenticate."
|
|
39
|
+
},
|
|
40
|
+
"redirectUris": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": "uri"
|
|
45
|
+
},
|
|
46
|
+
"description": "List of URIs to which the authorization server can redirect after successful operations. These URIs must be pre-registered in the system."
|
|
47
|
+
},
|
|
48
|
+
"postLogoutRedirectUris": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"format": "uri"
|
|
53
|
+
},
|
|
54
|
+
"description": "List of allowed URIs to redirect users after logout completion. Used in OpenID Connect logout flows."
|
|
55
|
+
},
|
|
56
|
+
"allowedOrigins": {
|
|
57
|
+
"type": "array",
|
|
58
|
+
"items": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"format": "uri"
|
|
61
|
+
},
|
|
62
|
+
"description": "List of allowed origins for CORS (Cross-Origin Resource Sharing). Critical for SPA applications to make requests from browser to token endpoint."
|
|
63
|
+
},
|
|
64
|
+
"loginURI": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"format": "uri",
|
|
67
|
+
"description": "URI for accessing the client's user login screen. Typically allows redirection to customized login pages."
|
|
68
|
+
},
|
|
69
|
+
"returnURI": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"format": "uri",
|
|
72
|
+
"description": "Default URI to which users will be redirected after successful login. Usually the application's home page."
|
|
73
|
+
},
|
|
74
|
+
"logoutURI": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"format": "uri",
|
|
77
|
+
"description": "URI to which users will be redirected when logout is completed. Usually an informational page shown after logout."
|
|
78
|
+
},
|
|
79
|
+
"tokens": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"properties": {
|
|
84
|
+
"type": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"enum": [
|
|
87
|
+
"identity",
|
|
88
|
+
"access",
|
|
89
|
+
"refresh"
|
|
90
|
+
],
|
|
91
|
+
"description": "Token type: identity (Token carrying user information. Only returned when exchanging authorization code), access (Access token used in service calls. Generally used for API calls), refresh (Used to obtain new tokens when Access Token expires)"
|
|
92
|
+
},
|
|
93
|
+
"duration": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"default": "PT5M",
|
|
96
|
+
"description": "Token validity period specified in ISO-8601 format. For example: PT5M (5 minutes)."
|
|
97
|
+
},
|
|
98
|
+
"claims": {
|
|
99
|
+
"type": "array",
|
|
100
|
+
"items": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"properties": {
|
|
103
|
+
"name": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "Claim name (e.g., email, role, custom_field)"
|
|
106
|
+
},
|
|
107
|
+
"value": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "Claim value or expression (e.g., user.email, 'admin', {{user.roles}})"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"description": "Claim (right/attribute) definitions to be carried in this token. Each claim contains a name and value/expression."
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"description": "Token types defined for the client and validity period and claim information for each."
|
|
118
|
+
},
|
|
119
|
+
"accessTokenFormat": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"enum": [
|
|
122
|
+
"jwt",
|
|
123
|
+
"opaque"
|
|
124
|
+
],
|
|
125
|
+
"default": "jwt",
|
|
126
|
+
"description": "Access token format: jwt (Signed, readable JSON Web Token. Generally the preferred format), opaque (Token that cannot be read by the client, only understood by the server)"
|
|
127
|
+
},
|
|
128
|
+
"authorizationCodeLifetime": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"default": "PT1M",
|
|
131
|
+
"description": "Lifetime duration of the authorization code in ISO-8601 format. Authorization codes are short-lived and typically valid for 1 minute (PT1M). After exchange for tokens, the code becomes invalid."
|
|
132
|
+
},
|
|
133
|
+
"refreshTokenPolicy": {
|
|
134
|
+
"type": "object",
|
|
135
|
+
"properties": {
|
|
136
|
+
"rotation": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"enum": [
|
|
139
|
+
"reuse",
|
|
140
|
+
"rotate"
|
|
141
|
+
],
|
|
142
|
+
"default": "rotate",
|
|
143
|
+
"description": "Should a new Refresh Token be generated when used (rotate) or should the same token be reused (reuse)? reuse (Same Refresh Token can be used repeatedly during its lifetime), rotate (A new Refresh Token will be generated with each use, the old one will be invalidated)"
|
|
144
|
+
},
|
|
145
|
+
"absoluteLifetime": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"description": "Total lifetime duration of the Refresh Token (ISO-8601). The token becomes completely invalid when the period expires."
|
|
148
|
+
},
|
|
149
|
+
"reuseInterval": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"description": "In rotation mode, the period during which the old token will remain valid. The old token becomes invalid after this period."
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"pkce": {
|
|
156
|
+
"type": "object",
|
|
157
|
+
"properties": {
|
|
158
|
+
"mode": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"enum": [
|
|
161
|
+
"must",
|
|
162
|
+
"optional"
|
|
163
|
+
],
|
|
164
|
+
"description": "PKCE mode: must (Requests cannot be made without using PKCE), optional (PKCE is supported but not mandatory)"
|
|
165
|
+
},
|
|
166
|
+
"codeChallengeMethods": {
|
|
167
|
+
"type": "array",
|
|
168
|
+
"items": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"enum": [
|
|
171
|
+
"S256",
|
|
172
|
+
"plain"
|
|
173
|
+
],
|
|
174
|
+
"description": "PKCE code challenge method: S256 (Secure code generation method, preferred), plain (Not secure, recommended only for testing purposes)"
|
|
175
|
+
},
|
|
176
|
+
"minItems": 1
|
|
177
|
+
},
|
|
178
|
+
"defaultMethod": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"enum": [
|
|
181
|
+
"S256",
|
|
182
|
+
"plain"
|
|
183
|
+
],
|
|
184
|
+
"description": "Default method the server will use when PKCE method is not specified."
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"clientType": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"enum": [
|
|
191
|
+
"confidential",
|
|
192
|
+
"public"
|
|
193
|
+
],
|
|
194
|
+
"default": "confidential",
|
|
195
|
+
"description": "OAuth2 client type. 'confidential' represents server-side applications, 'public' represents SPA/native applications."
|
|
196
|
+
},
|
|
197
|
+
"secret": {
|
|
198
|
+
"type": [
|
|
199
|
+
"string",
|
|
200
|
+
"null"
|
|
201
|
+
],
|
|
202
|
+
"description": "Secret key (client_secret) required for confidential clients. Can be null for public clients."
|
|
203
|
+
},
|
|
204
|
+
"keySize": {
|
|
205
|
+
"type": "number",
|
|
206
|
+
"description": "Key size for the client. Default is 2048.",
|
|
207
|
+
"default": 2048,
|
|
208
|
+
"minimum": 2048,
|
|
209
|
+
"maximum": 4096,
|
|
210
|
+
"multipleOf": 256
|
|
211
|
+
},
|
|
212
|
+
"tokenEndpointAuthMethod": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"enum": [
|
|
215
|
+
"client_secret_basic",
|
|
216
|
+
"client_secret_post",
|
|
217
|
+
"private_key_jwt",
|
|
218
|
+
"tls_client_auth"
|
|
219
|
+
],
|
|
220
|
+
"default": "client_secret_post",
|
|
221
|
+
"description": "Specifies how the client will authenticate itself at the /token endpoint."
|
|
222
|
+
},
|
|
223
|
+
"responseTypes": {
|
|
224
|
+
"type": "array",
|
|
225
|
+
"items": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"enum": [
|
|
228
|
+
"code",
|
|
229
|
+
"token"
|
|
230
|
+
],
|
|
231
|
+
"description": "Response type value: code (Returns authorization_code after user authorization), token (Returns access_token directly. Generally used in SPA applications)"
|
|
232
|
+
},
|
|
233
|
+
"description": "Specifies which response_type values are supported in requests to the authorization endpoint."
|
|
234
|
+
},
|
|
235
|
+
"applicationType": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"enum": [
|
|
238
|
+
"web",
|
|
239
|
+
"native",
|
|
240
|
+
"spa"
|
|
241
|
+
],
|
|
242
|
+
"default": "web",
|
|
243
|
+
"description": "Specifies the client's application type. Web: server application accessed from browser. Native: desktop/mobile. SPA: single page application."
|
|
244
|
+
},
|
|
245
|
+
"singleSessionClients": {
|
|
246
|
+
"type": "array",
|
|
247
|
+
"items": {
|
|
248
|
+
"type": "string"
|
|
249
|
+
},
|
|
250
|
+
"description": "Only one session can be active at a time with clients in this list. Sessions in other clients will be invalidated."
|
|
251
|
+
},
|
|
252
|
+
"allowedScopeGroups": {
|
|
253
|
+
"type": "array",
|
|
254
|
+
"items": {
|
|
255
|
+
"type": "string"
|
|
256
|
+
},
|
|
257
|
+
"description": "List of scopegroup values that the client is allowed to access. These values can be used when creating tokens."
|
|
258
|
+
},
|
|
259
|
+
"clientName": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"description": "Human-readable name of the client application. Displayed to users during consent and authorization flows.",
|
|
262
|
+
"minLength": 10,
|
|
263
|
+
"maxLength": 25
|
|
264
|
+
},
|
|
265
|
+
"clientUri": {
|
|
266
|
+
"type": "string",
|
|
267
|
+
"format": "uri",
|
|
268
|
+
"description": "URL of the client application's homepage. Provides users more information about the application."
|
|
269
|
+
},
|
|
270
|
+
"logoUri": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"format": "uri",
|
|
273
|
+
"description": "URL of the client application's logo. Displayed in consent screens and user-facing authorization pages."
|
|
274
|
+
},
|
|
275
|
+
"policyUri": {
|
|
276
|
+
"type": "string",
|
|
277
|
+
"format": "uri",
|
|
278
|
+
"description": "URL of the client application's privacy policy. Helps users understand how their data will be used."
|
|
279
|
+
},
|
|
280
|
+
"tosUri": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"format": "uri",
|
|
283
|
+
"description": "URL of the client application's terms of service. Provides legal terms users agree to when authorizing the application."
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"required": [
|
|
287
|
+
"allowedGrants",
|
|
288
|
+
"clientType"
|
|
289
|
+
],
|
|
290
|
+
"additionalProperties": false
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "BUSINESS CONTEXT: Client update operational flow schema. Implements dual control (4-eyes principle) for client configuration changes. Uses CHANGESET approach: only modified fields are stored (partial update). UI resolves client reference for display (real-time, no stale data). On approval, only populated fields are patched to client fact. Example: If user changes only redirectUris and requirePKCE, only those 2 fields + metadata are stored in update request.",
|
|
3
|
+
"key": "client-update-master",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"domain": "morph-idm",
|
|
6
|
+
"flow": "sys-schemas",
|
|
7
|
+
"flowVersion": "1.0.0",
|
|
8
|
+
"tags": [
|
|
9
|
+
"morph-idm",
|
|
10
|
+
"schema",
|
|
11
|
+
"operational"
|
|
12
|
+
],
|
|
13
|
+
"attributes": {
|
|
14
|
+
"type": "workflow",
|
|
15
|
+
"schema": {
|
|
16
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
17
|
+
"$id": "https://vnext.io/schemas/core/client-update-master.json",
|
|
18
|
+
"title": "Client Update",
|
|
19
|
+
"description": "Client update request data. CHANGESET MODEL: Only populate fields that are being changed. All fields except clientFactKey and changeReason are optional. Immutable fields (clientId, clientSecret) are excluded and cannot be updated. IMPORTANT: For arrays and complex types, if field is non-null, ENTIRE value will REPLACE existing value in client fact (no partial merge). Example: if redirectUris is provided, it completely replaces all existing redirectUris. To remove all items, send empty array []. Null/undefined = no change.",
|
|
20
|
+
"type": "object",
|
|
21
|
+
"required": [
|
|
22
|
+
"clientFactKey",
|
|
23
|
+
"changeReason"
|
|
24
|
+
],
|
|
25
|
+
"properties": {
|
|
26
|
+
"clientFactKey": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Reference to the client fact being updated."
|
|
29
|
+
},
|
|
30
|
+
"changeReason": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "Business reason for this update request. Required for audit trail."
|
|
33
|
+
},
|
|
34
|
+
"rejectionReason": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "Reason for rejection. Set by approver when rejecting."
|
|
37
|
+
},
|
|
38
|
+
"allowedGrants": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"description": "OAuth2 grant types (authorization_code, client_credentials, refresh_token, etc.). If provided, REPLACES entire array in client fact."
|
|
44
|
+
},
|
|
45
|
+
"allowedFirstFactor": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": [
|
|
50
|
+
"password",
|
|
51
|
+
"pin",
|
|
52
|
+
"sldap"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"description": "Allowed first-factor authentication methods. If provided, REPLACES entire array."
|
|
56
|
+
},
|
|
57
|
+
"redirectUris": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"format": "uri"
|
|
62
|
+
},
|
|
63
|
+
"description": "OAuth2 redirect URIs. Critical for security. If provided, REPLACES entire array. To remove all URIs, send []."
|
|
64
|
+
},
|
|
65
|
+
"postLogoutRedirectUris": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"format": "uri"
|
|
70
|
+
},
|
|
71
|
+
"description": "Post-logout redirect URIs. If provided, REPLACES entire array."
|
|
72
|
+
},
|
|
73
|
+
"allowedOrigins": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"format": "uri"
|
|
78
|
+
},
|
|
79
|
+
"description": "CORS allowed origins for SPA applications. If provided, REPLACES entire array."
|
|
80
|
+
},
|
|
81
|
+
"loginURI": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"format": "uri",
|
|
84
|
+
"description": "Custom login page URI."
|
|
85
|
+
},
|
|
86
|
+
"returnURI": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"format": "uri",
|
|
89
|
+
"description": "Default return URI after successful login."
|
|
90
|
+
},
|
|
91
|
+
"logoutURI": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"format": "uri",
|
|
94
|
+
"description": "Logout completion URI."
|
|
95
|
+
},
|
|
96
|
+
"tokens": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"type": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"enum": [
|
|
104
|
+
"identity",
|
|
105
|
+
"access",
|
|
106
|
+
"refresh"
|
|
107
|
+
],
|
|
108
|
+
"description": "Token type."
|
|
109
|
+
},
|
|
110
|
+
"duration": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "Token validity duration (ISO-8601 format, e.g., PT5M)."
|
|
113
|
+
},
|
|
114
|
+
"claims": {
|
|
115
|
+
"type": "array",
|
|
116
|
+
"items": {
|
|
117
|
+
"type": "object",
|
|
118
|
+
"properties": {
|
|
119
|
+
"name": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"description": "Claim name."
|
|
122
|
+
},
|
|
123
|
+
"value": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Claim value or expression."
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"description": "Custom claims for this token type."
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"description": "Token configurations (duration, claims). If provided, REPLACES entire tokens array. To modify one token type, include all 3 types in update."
|
|
134
|
+
},
|
|
135
|
+
"authorizationCodeLifetime": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "Authorization code lifetime (ISO-8601)."
|
|
138
|
+
},
|
|
139
|
+
"refreshTokenRotation": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"enum": [
|
|
142
|
+
"reuse",
|
|
143
|
+
"rotate"
|
|
144
|
+
],
|
|
145
|
+
"description": "Refresh token rotation strategy."
|
|
146
|
+
},
|
|
147
|
+
"refreshTokenAbsoluteLifetime": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"description": "Refresh token absolute lifetime (ISO-8601)."
|
|
150
|
+
},
|
|
151
|
+
"refreshTokenReuseInterval": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"description": "Grace period for rotated refresh tokens (ISO-8601)."
|
|
154
|
+
},
|
|
155
|
+
"allowOffline": {
|
|
156
|
+
"type": "boolean",
|
|
157
|
+
"description": "Allow offline access (refresh tokens without user presence)."
|
|
158
|
+
},
|
|
159
|
+
"requirePKCE": {
|
|
160
|
+
"type": "boolean",
|
|
161
|
+
"description": "Require PKCE for authorization code flow."
|
|
162
|
+
},
|
|
163
|
+
"allowRememberMe": {
|
|
164
|
+
"type": "boolean",
|
|
165
|
+
"description": "Allow remember me functionality."
|
|
166
|
+
},
|
|
167
|
+
"clientMetadata": {
|
|
168
|
+
"type": "object",
|
|
169
|
+
"properties": {
|
|
170
|
+
"clientName": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"description": "Human-readable client name."
|
|
173
|
+
},
|
|
174
|
+
"clientUri": {
|
|
175
|
+
"type": "string",
|
|
176
|
+
"format": "uri",
|
|
177
|
+
"description": "Client's home page URL."
|
|
178
|
+
},
|
|
179
|
+
"logoUri": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"format": "uri",
|
|
182
|
+
"description": "Client logo URL."
|
|
183
|
+
},
|
|
184
|
+
"policyUri": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"format": "uri",
|
|
187
|
+
"description": "Privacy policy URL."
|
|
188
|
+
},
|
|
189
|
+
"tosUri": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"format": "uri",
|
|
192
|
+
"description": "Terms of service URL."
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"description": "Client display metadata. If provided, REPLACES entire metadata object. To update one field, include all fields you want to keep."
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"additionalProperties": false
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "BUSINESS CONTEXT: Consent is the authorization relationship. User (employee) + Client (app) + Scope (customer) + Roles = Consent. Example: 'John can access Customer-123 via Mobile Banking with Account Viewer role'.",
|
|
3
|
+
"key": "consent-master",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"domain": "morph-idm",
|
|
6
|
+
"flow": "sys-schemas",
|
|
7
|
+
"flowVersion": "1.0.0",
|
|
8
|
+
"tags": [
|
|
9
|
+
"morph-idm",
|
|
10
|
+
"schema"
|
|
11
|
+
],
|
|
12
|
+
"attributes": {
|
|
13
|
+
"type": "workflow",
|
|
14
|
+
"schema": {
|
|
15
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
16
|
+
"$id": "https://example.com/schemas/consent-master.schema.json",
|
|
17
|
+
"title": "Consent",
|
|
18
|
+
"description": "Consent is the authorization relationship between a user and a scope (customer). In banking: User (employee) + Client (application) + Scope (customer) + Roles = Consent.",
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"user": {
|
|
22
|
+
"$ref": "../common/reference.json",
|
|
23
|
+
"description": "The user for whom access authorization is defined."
|
|
24
|
+
},
|
|
25
|
+
"client": {
|
|
26
|
+
"$ref": "../common/reference.json",
|
|
27
|
+
"description": "The OAuth2 client through which this consent is established."
|
|
28
|
+
},
|
|
29
|
+
"scope": {
|
|
30
|
+
"$ref": "../common/reference.json",
|
|
31
|
+
"description": "The scope definition for which this consent is valid."
|
|
32
|
+
},
|
|
33
|
+
"position": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Position node key in the organization tree. Runtime resolves this to concrete position node via: 1) scope.reference → organization instance, 2) find node by key in tree. Example: 'branch-manager', 'teller', 'senior-developer'. Position node contains roles and privileges that are inherited during authorization."
|
|
36
|
+
},
|
|
37
|
+
"roles": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"description": "Explicit role assignments at consent level (highest priority). These roles are ADDITIONAL to organization-inherited roles. Domain-qualified role names (e.g., 'morph-idm.emergency-approver').",
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"role": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"pattern": "^[a-z0-9-]+\\.[a-z0-9-]+$",
|
|
46
|
+
"description": "Domain-qualified role name (e.g., 'morph-idm.maker', 'morph-idm.emergency-approver'). Defined at design-time in workflow definitions."
|
|
47
|
+
},
|
|
48
|
+
"allowance": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": [
|
|
51
|
+
"allow",
|
|
52
|
+
"deny"
|
|
53
|
+
],
|
|
54
|
+
"description": "'allow' = grant permission, 'deny' = explicit restriction. DENY always wins over organization-inherited roles."
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": [
|
|
58
|
+
"role",
|
|
59
|
+
"allowance"
|
|
60
|
+
],
|
|
61
|
+
"additionalProperties": false
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"privileges": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"description": "Explicit privilege assignments at consent level (highest priority, overrides organization privileges). References to Privilege workflow instances. Merged with organization-inherited privileges.",
|
|
67
|
+
"items": {
|
|
68
|
+
"$ref": "../common/reference.json"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"grantedAt": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"format": "date-time",
|
|
74
|
+
"description": "When the consent was granted."
|
|
75
|
+
},
|
|
76
|
+
"expiresAt": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"format": "date-time",
|
|
79
|
+
"description": "When the consent will expire."
|
|
80
|
+
},
|
|
81
|
+
"revokedAt": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"format": "date-time",
|
|
84
|
+
"description": "When the consent was revoked, if applicable."
|
|
85
|
+
},
|
|
86
|
+
"mustRenewJWSCertificate": {
|
|
87
|
+
"type": "boolean",
|
|
88
|
+
"default": false
|
|
89
|
+
},
|
|
90
|
+
"mustRenewMTLSCertificate": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"default": false
|
|
93
|
+
},
|
|
94
|
+
"timeRestrictions": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"description": "Time-based access restrictions. Define allowed access hours per day. Format: 'HH:mm-HH:mm' (24h) or 'closed'. Timezone aware.",
|
|
97
|
+
"properties": {
|
|
98
|
+
"monday": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "e.g., '09:00-17:00' or 'closed'"
|
|
101
|
+
},
|
|
102
|
+
"tuesday": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"description": "e.g., '09:00-17:00' or 'closed'"
|
|
105
|
+
},
|
|
106
|
+
"wednesday": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"description": "e.g., '09:00-17:00' or 'closed'"
|
|
109
|
+
},
|
|
110
|
+
"thursday": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "e.g., '09:00-17:00' or 'closed'"
|
|
113
|
+
},
|
|
114
|
+
"friday": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "e.g., '09:00-17:00' or 'closed'"
|
|
117
|
+
},
|
|
118
|
+
"saturday": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"description": "e.g., '09:00-17:00' or 'closed'"
|
|
121
|
+
},
|
|
122
|
+
"sunday": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"description": "e.g., '09:00-17:00' or 'closed'"
|
|
125
|
+
},
|
|
126
|
+
"timezone": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"default": "UTC",
|
|
129
|
+
"description": "IANA timezone identifier (e.g., 'Europe/Istanbul', 'America/New_York'). All time restrictions are evaluated in this timezone."
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"additionalProperties": false
|
|
133
|
+
},
|
|
134
|
+
"ipRestrictions": {
|
|
135
|
+
"type": "array",
|
|
136
|
+
"description": "List of allowed IPs/CIDR blocks (validator-level checks may be custom).",
|
|
137
|
+
"items": {
|
|
138
|
+
"type": "string"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"required": [
|
|
143
|
+
"user",
|
|
144
|
+
"client",
|
|
145
|
+
"scope",
|
|
146
|
+
"roles"
|
|
147
|
+
],
|
|
148
|
+
"additionalProperties": false
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|