def invalid_token_callback(error): return BaseResponse.unauthorized_response('Invalid token: ' + error)
def unauthorized_callback(error): return BaseResponse.unauthorized_response(error)
def expired_token_callback(): return BaseResponse.unauthorized_response('Expired token.')