def _atlassian_jwt_post_token(self):
if not getattr(g, 'ac_client', None):
return dict()
args = request.args.copy()
try:
del args['jwt']
except KeyError:
pass
signature = encode_token(
'POST',
request.path + '?' + urlencode(args),
g.ac_client.clientKey,
g.ac_client.sharedSecret)
args['jwt'] = signature
return dict(atlassian_jwt_post_url=request.path + '?' + urlencode(args))
评论列表
文章目录