ktor-auth / io.ktor.auth / UnauthorizedResponse / <init>

<init>

UnauthorizedResponse(vararg challenges: HttpAuthHeader)

Response content with 401 Unauthorized status code and WWW-Authenticate header of supplied challenges

Parameters

challenges - to be passed with WWW-Authenticate header