...
Code Block |
---|
string validateJwt( string openIdServer, string token, map <string, any> claimsToValidate, //Optional string algorithm //Optional) |
Parameters
Parameter | Description |
---|---|
| The destination URL of the token to be verified. |
| The value of the token. |
| An optional map field to declare the claims as well as the corresponding value to validate against the token. |
| An optional field to verify the signing algorithm used by the token. The possible values could be RSA256, RSA384, RSA512, ECDSA256, ECDSA384, ECDSA512. By default, the APL function uses RSA256. |
Returns | An error message on validation failure. Null on validation success. |
Info | ||
---|---|---|
ExampleExample of the validateJwt function with claims and algorithm optional values populated.
|
Info | ||
---|---|---|
JWKS CacheThe cache is exclusively accessible only from the backend , and users are not permitted to update it. This cache cannot be updated by users. It is used to minimize reduce the number of connections to the openIdServer OpenID server and will be reset when if the workflow is aborted.
|
...