def make_bench_verify_token(alg):
privk = priv_keys[alg].get('<STR_LIT:default>', priv_key)<EOL>token = jwt.generate_jwt(payload, privk, alg, timedelta(days=<NUM_LIT:1>))<EOL>def f(_):<EOL><INDENT>"""<STR_LIT>"""<EOL>pubk = pub_keys[alg].get('<STR_LIT:default>', pub_key)<EOL>jwt.verify_jwt(token, pubk, [alg])<EOL><DEDENT>return f<EOL>
Return function which will generate token for particular algorithm