UnAuthenticated extension
Sends a 401 unauthenticated response.
Attempts to render errors.401. If the template is missing, falls back to
a plain-text response.
Example:
return request.unAuthenticated();
- on
Methods
-
unAuthenticated(
) → Future< HttpResponse> -
Available on HttpRequest, provided by the UnAuthenticated extension
Renderserrors.401or falls back to a plain 401 response.