src/fastapi_aad_auth/_base/validators/session.py
def check(self, request):
        """Check the authentication from the request."""
        try:
            state = AuthenticationState.load_from_session(self._session_serializer, request.session)
        except Exception:
            state = AuthenticationState.as_unauthenticated(self._session_serializer, request.session)
            self.logger.exception('Error authenticating via session')
        return state
Check the authentication from the request.
Check the authentication from the request.
Check the authentication from the request .
def check(self, request):
        try:
            state = AuthenticationState.load_from_session(self._session_serializer, request.session)
        except Exception:
            state = AuthenticationState.as_unauthenticated(self._session_serializer, request.session)
            self.logger.exception('Error authenticating via session')
        return state
def check ( self , request ) : try : state = AuthenticationState . load_from_session ( self . _session_serializer , request . session ) except Exception : state = AuthenticationState . as_unauthenticated ( self . _session_serializer , request . session ) self . logger . exception ( 'Error authenticating via session' ) return state
Check the authentication from the request.
Check the authentication from the request .
"""Check the authentication from the request."""
self
request