def authenticate(self, req, resp):
"""
Method should be overriden with specific a specific authentication
call for an implementation.
:param req: Request instance that will be passed through.
:type req: falcon.Request
:param resp: Response instance that will be passed through.
:type resp: falcon.Response
:raises: falcon.HTTPForbidden
"""
raise falcon.HTTPForbidden('Forbidden', 'Forbidden')
评论列表
文章目录