-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
758 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
177 changes: 177 additions & 0 deletions
177
mock/Applications/DefaultApplication/AllKeyManagers.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,177 @@ | ||
{ | ||
"count": 2, | ||
"list": [ | ||
{ | ||
"id": "aa899ef9-df1a-44c6-940c-dfe1bc2a8c5a", | ||
"name": "Resident Key Manager", | ||
"type": "default", | ||
"displayName": null, | ||
"description": "This is Resident Key Manager", | ||
"enabled": true, | ||
"availableGrantTypes": [ | ||
"refresh_token", | ||
"urn:ietf:params:oauth:grant-type:saml2-bearer", | ||
"password", | ||
"client_credentials", | ||
"iwa:ntlm", | ||
"urn:ietf:params:oauth:grant-type:device_code", | ||
"authorization_code", | ||
"urn:ietf:params:oauth:grant-type:token-exchange", | ||
"urn:ietf:params:oauth:grant-type:jwt-bearer" | ||
], | ||
"tokenEndpoint": "https://localhost:9443/oauth2/token", | ||
"revokeEndpoint": "https://localhost:9443/oauth2/revoke", | ||
"userInfoEndpoint": null, | ||
"enableTokenGeneration": true, | ||
"enableTokenEncryption": false, | ||
"enableTokenHashing": false, | ||
"enableOAuthAppCreation": true, | ||
"enableMapOAuthConsumerApps": false, | ||
"applicationConfiguration": [ | ||
{ | ||
"name": "application_access_token_expiry_time", | ||
"label": "Application Access Token Expiry Time ", | ||
"type": "input", | ||
"required": false, | ||
"mask": false, | ||
"multiple": false, | ||
"tooltip": "Type Application Access Token Expiry Time in seconds ", | ||
"values": [], | ||
"default": "N/A" | ||
}, | ||
{ | ||
"name": "user_access_token_expiry_time", | ||
"label": "User Access Token Expiry Time ", | ||
"type": "input", | ||
"required": false, | ||
"mask": false, | ||
"multiple": false, | ||
"tooltip": "Type User Access Token Expiry Time in seconds ", | ||
"values": [], | ||
"default": "N/A" | ||
}, | ||
{ | ||
"name": "refresh_token_expiry_time", | ||
"label": "Refresh Token Expiry Time ", | ||
"type": "input", | ||
"required": false, | ||
"mask": false, | ||
"multiple": false, | ||
"tooltip": "Type Refresh Token Expiry Time in seconds ", | ||
"values": [], | ||
"default": "N/A" | ||
}, | ||
{ | ||
"name": "id_token_expiry_time", | ||
"label": "Id Token Expiry Time", | ||
"type": "input", | ||
"required": false, | ||
"mask": false, | ||
"multiple": false, | ||
"tooltip": "Type ID Token Expiry Time in seconds ", | ||
"values": [], | ||
"default": "N/A" | ||
}, | ||
{ | ||
"name": "pkceMandatory", | ||
"label": "Enable PKCE", | ||
"type": "checkbox", | ||
"required": false, | ||
"mask": false, | ||
"multiple": false, | ||
"tooltip": "Enable PKCE", | ||
"values": [], | ||
"default": "false" | ||
}, | ||
{ | ||
"name": "pkceSupportPlain", | ||
"label": "Support PKCE Plain text", | ||
"type": "checkbox", | ||
"required": false, | ||
"mask": false, | ||
"multiple": false, | ||
"tooltip": "S256 is recommended, plain text too can be used.", | ||
"values": [], | ||
"default": "false" | ||
}, | ||
{ | ||
"name": "bypassClientCredentials", | ||
"label": "Public client", | ||
"type": "checkbox", | ||
"required": false, | ||
"mask": false, | ||
"multiple": false, | ||
"tooltip": "Allow authentication without the client secret.", | ||
"values": [], | ||
"default": "false" | ||
} | ||
], | ||
"alias": null, | ||
"additionalProperties": {}, | ||
"tokenType": "DIRECT" | ||
}, | ||
{ | ||
"id": "94d37d2f-7d83-471c-87f7-9421692ddeaa", | ||
"name": "dummy", | ||
"type": "Auth0", | ||
"displayName": "dummy", | ||
"description": "", | ||
"enabled": true, | ||
"availableGrantTypes": [], | ||
"tokenEndpoint": "https://localhost:9443/admin/settings/key-managers/create", | ||
"revokeEndpoint": "https://localhost:9443/admin/settings/key-managers/create", | ||
"userInfoEndpoint": null, | ||
"enableTokenGeneration": true, | ||
"enableTokenEncryption": false, | ||
"enableTokenHashing": false, | ||
"enableOAuthAppCreation": true, | ||
"enableMapOAuthConsumerApps": true, | ||
"applicationConfiguration": [ | ||
{ | ||
"name": "app_type", | ||
"label": "Application Type", | ||
"type": "select", | ||
"required": false, | ||
"mask": false, | ||
"multiple": false, | ||
"tooltip": "Type of the application to create", | ||
"values": [ | ||
"regular_web", | ||
"native", | ||
"spa", | ||
"non_interactive" | ||
], | ||
"default": "regular_web" | ||
}, | ||
{ | ||
"name": "token_endpoint_auth_method", | ||
"label": "Token Endpoint Authentication Method", | ||
"type": "select", | ||
"required": true, | ||
"mask": true, | ||
"multiple": false, | ||
"tooltip": "How to Authenticate Token Endpoint", | ||
"values": [ | ||
"client_secret_basic", | ||
"client_secret_post" | ||
], | ||
"default": "client_secret_basic" | ||
}, | ||
{ | ||
"name": "audience_of_api", | ||
"label": "Audience of the API", | ||
"type": "text", | ||
"required": true, | ||
"mask": false, | ||
"multiple": false, | ||
"tooltip": "The audience of the API which intended to use this application", | ||
"values": [], | ||
"default": "" | ||
} | ||
], | ||
"alias": null, | ||
"additionalProperties": {}, | ||
"tokenType": "DIRECT" | ||
} | ||
] | ||
} |
17 changes: 17 additions & 0 deletions
17
mock/Applications/DefaultApplication/DefaultApplication.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"applicationId": "49231188-5d7e-46e1-9651-7e7905d4d836", | ||
"name": "DefaultApplication", | ||
"throttlingPolicy": "Unlimited", | ||
"description": "This is the default application", | ||
"tokenType": "JWT", | ||
"status": "APPROVED", | ||
"groups": [], | ||
"subscriptionCount": 1, | ||
"keys": [], | ||
"attributes": {}, | ||
"subscriptionScopes": [], | ||
"owner": "admin", | ||
"hashEnabled": false, | ||
"createdTime": "1731993412405", | ||
"updatedTime": "1731993412405" | ||
} |
Oops, something went wrong.