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