falcon_auth2/backends/meta.py
def authenticate(self, attributes: RequestAttributes):
        "Authenticates the request and returns the authenticated user."
        challenges = []

        for backend in self.backends:
            try:
                result = backend.authenticate(attributes)
                result.setdefault("backend", backend)
                return result
            except HTTPUnauthorized as exc:
                if self.continue_on(backend, exc):
                    self._append_challenges(challenges, exc)
                else:
                    raise

        raise BackendNotApplicable(
            description="Cannot authenticate the request", challenges=challenges
        )
Authenticates the request and returns the authenticated user.
Authenticates the request and returns the authenticated user.
Authenticates the request and returns the authenticated user .
def authenticate(self, attributes: RequestAttributes):
        challenges = []
        for backend in self.backends:
            try:
                result = backend.authenticate(attributes)
                result.setdefault("backend", backend)
                return result
            except HTTPUnauthorized as exc:
                if self.continue_on(backend, exc):
                    self._append_challenges(challenges, exc)
                else:
                    raise
        raise BackendNotApplicable(
            description="Cannot authenticate the request", challenges=challenges
        )
def authenticate ( self , attributes : RequestAttributes ) : challenges = [ ] for backend in self . backends : try : result = backend . authenticate ( attributes ) result . setdefault ( "backend" , backend ) return result except HTTPUnauthorized as exc : if self . continue_on ( backend , exc ) : self . _append_challenges ( challenges , exc ) else : raise raise BackendNotApplicable ( description = "Cannot authenticate the request" , challenges = challenges )
Authenticates the request and returns the authenticated user.
Authenticates the request and returns the authenticated user .
"Authenticates the request and returns the authenticated user."
self
attributes
RequestAttributes