unauthorized method

void unauthorized()

Sets status to 401 Unauthorized.

Implementation

void unauthorized() => setStatus(401);