Added checks to JWTDecode operation

This commit is contained in:
Manatsawin Hanmongkolchai 2022-10-09 14:57:02 +07:00
parent c2cf535f88
commit 674649ca7f
1 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,13 @@ class JWTDecode extends Operation {
this.inputType = "string";
this.outputType = "JSON";
this.args = [];
this.checks = [
{
pattern: "^ey([A-Za-z0-9_-]+)\\.ey([A-Za-z0-9_-]+)\\.([A-Za-z0-9_-]+)$",
flags: "",
args: []
},
];
}
/**