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