NotAuthenticated extension

Sends a 401 unauthenticated response.

Attempts to render errors.401. If the template is missing, falls back to a plain-text response.

on

Methods

notAuthenticated() Future<HttpResponse>

Available on HttpRequest, provided by the NotAuthenticated extension

Renders errors.401 template or plain 401.