...
Parameter | Description |
---|---|
openIdServer | The destination URL of the token to be verifiedThis is the URL for the JWKS server. |
token The value of the token | This refers to the JWT (Json Web Token) that needs to be validated. |
claimsToValidate | An optional map field to declare the claims as well as the corresponding value to validate against the token. |
algorithm | 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 | ||
---|---|---|
| ||
Example of the validateJwt function with optional values for claims and algorithm optional values populated.
|
...