
sec.externalSecurityRemoveOauthJwtSecrets( external-security-name as String, oauth-jwt-key-id as String ) as null
This function removes the specified JWT secrets based on their key-ID. This inputted key-IDs should be unique, non-empty, and exist in the given external security object.
| Parameters | |
|---|---|
| external-security-name | Name of the external security object. |
| oauth-jwt-key-id | The list of OAuth key-IDs to be removed. |
http://marklogic.com/xdmp/privileges/external-security-remove-oauth-jwt-secrets
This function must be executed against the security database.
declareUpdate();
const sec = require('MarkLogic/security');
sec.externalSecurityRemoveOauthJwtSecrets('oauthconfig', ("keyID1", "keyID2"));
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.