zio.blocks.endpoint.AuthType
See theAuthType companion object
Authentication scheme descriptor aligned with zio-http's typed auth model.
When authentication fails, the default response status is Status.NotFound rather than Status.Unauthorized. This is an intentional security pattern (information hiding) that avoids revealing whether a protected resource exists. Override unauthorizedStatus with withUnauthorizedStatus if you want standard 401 Unauthorized behavior instead.
Attributes
- Companion
- object
- Source
- AuthType.scala
- Graph
-
- Supertypes
- Known subtypes
- Self type
Members list
In this article