app.blueprints.auth.AuthBaseResource

class app.blueprints.auth.AuthBaseResource(api=None, *args, **kwargs)

Bases: flask_restx.resource.Resource

Attributes

AuthBaseResource.auth_service

AuthBaseResource.decorators

The canonical way to decorate class-based views is to decorate the return value of as_view().

AuthBaseResource.method_decorators

AuthBaseResource.methods

A list of methods this view can handle.

AuthBaseResource.provide_automatic_options

Setting this disables or force-enables the automatic options handling.

AuthBaseResource.representations

Methods

AuthBaseResource.__init__([api])

AuthBaseResource.as_view(name, *class_args, ...)

Converts the class into an actual view function that can be used with the routing system.

AuthBaseResource.dispatch_request(*args, ...)

Subclasses have to override this method to implement the actual view function code.

AuthBaseResource.validate_payload(func)

Perform a payload validation on expected model if necessary