WwwAuthenticateResponseGenerator
Helper for the generation of a org.http4s.Response which must contain a WWW-Authenticate header and may contain a body.
A 401 status MUST contain a WWW-Authenticate header, which
distinguishes this from other ResponseGenerators.
Value members
Methods
def apply[A](authenticate: `WWW-Authenticate`, body: A, headers: ToRaw*)(F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]