Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Authentication: simplify code. #2530
We extract an "unauthorized" function, that generates a response with the "Unatuthorized" status with the given authentication challenge.
We edit the code of challenged, so as to avoid using the