src/fastapi_aad_auth/mixins/not_authenticated.py
def not_authenticated(self):
        """Create an error for unauthenticated requests."""
        return HTTPException(
                    status_code=HTTP_401_UNAUTHORIZED,
                    detail="Not authenticated",
                    headers={"WWW-Authenticate": "Bearer"},
                )
Create an error for unauthenticated requests.
Create an error for unauthenticated requests.
Create an error for unauthenticated requests .
def not_authenticated(self):
        return HTTPException(
                    status_code=HTTP_401_UNAUTHORIZED,
                    detail="Not authenticated",
                    headers={"WWW-Authenticate": "Bearer"},
                )
def not_authenticated ( self ) : return HTTPException ( status_code = HTTP_401_UNAUTHORIZED , detail = "Not authenticated" , headers = { "WWW-Authenticate" : "Bearer" } , )
Create an error for unauthenticated requests.
Create an error for unauthenticated requests .
"""Create an error for unauthenticated requests."""
self