示例#1
0
def invalid_token_callback(error):
    return BaseResponse.unauthorized_response('Invalid token: ' + error)
示例#2
0
def unauthorized_callback(error):
    return BaseResponse.unauthorized_response(error)
示例#3
0
def expired_token_callback():
    return BaseResponse.unauthorized_response('Expired token.')