authnzerver.handlers module

These are handlers for the authnzerver.

class authnzerver.handlers.AuthHandler(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs)[source]

Bases: tornado.web.RequestHandler, authnzerver.ratelimit.RateLimitMixin, authnzerver.ratelimit.UserLockMixin

This handles the actual auth requests.

initialize(config, executor, cacheobj, failed_passchecks)[source]

This sets up stuff.

post()[source]

Handles the incoming POST request.

send_response(response, reqid)[source]

This handles the response generation.

write_error(status_code, **kwargs)[source]

This writes the error as a response.