mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 00:31:31 -04:00
Update JWTVerify.mjs
This commit is contained in:
parent
b713be5a9e
commit
d27094574f
1 changed files with 3 additions and 3 deletions
|
@ -26,8 +26,8 @@ class JWTVerify extends Operation {
|
||||||
this.infoURL = "https://wikipedia.org/wiki/JSON_Web_Token";
|
this.infoURL = "https://wikipedia.org/wiki/JSON_Web_Token";
|
||||||
this.inputType = "string";
|
this.inputType = "string";
|
||||||
this.outputType = "JSON";
|
this.outputType = "JSON";
|
||||||
let algOptions = JWT_ALGORITHMS.slice(0, JWT_ALGORITHMS.length - 1);
|
this.algOptions = JWT_ALGORITHMS;
|
||||||
algOptions.push("Any");
|
this.algOptions.push("Any");
|
||||||
this.args = [
|
this.args = [
|
||||||
{
|
{
|
||||||
name: "Public/Secret Key",
|
name: "Public/Secret Key",
|
||||||
|
@ -37,7 +37,7 @@ class JWTVerify extends Operation {
|
||||||
{
|
{
|
||||||
name: "Algorithm",
|
name: "Algorithm",
|
||||||
type: "option",
|
type: "option",
|
||||||
value: algOptions
|
value: this.algOptions
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue