unauthorizedHandler

Renders 401 responses for failed or absent authentication. Defaults to UnauthorizedHandler.DEFAULT (bare HTTP 401). Ignored when bearerChallenge is true.