src/fastapi_aad_auth/_base/validators/session.py
def is_valid_redirect(self, redirect):
        """Check if the redirect is not to endpoints that we don't want to redirect to."""
        if redirect is None:
            return False
        return not any(map(partial(fnmatch.fnmatch, redirect), self._ignore_redirect_routes))
Check if the redirect is not to endpoints that we don't want to redirect to.
Check if the redirect is not to endpoints that we don't want to redirect to.
Check if the redirect is not to endpoints that we don ' t want to redirect to .
def is_valid_redirect(self, redirect):
        if redirect is None:
            return False
        return not any(map(partial(fnmatch.fnmatch, redirect), self._ignore_redirect_routes))
def is_valid_redirect ( self , redirect ) : if redirect is None : return False return not any ( map ( partial ( fnmatch . fnmatch , redirect ) , self . _ignore_redirect_routes ) )
Check if the redirect is not to endpoints that we don't want to redirect to.
Check if the redirect is not to endpoints that we don ' t want to redirect to .
"""Check if the redirect is not to endpoints that we don't want to redirect to."""
self
redirect