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 ResponseGenerator
s.
Value members
Concrete methods
def apply(authenticate: WWW-Authenticate, headers: ToRaw*)(implicit F: Applicative[F]): F[Response[G]]
def apply[A](authenticate: WWW-Authenticate, body: A, headers: ToRaw*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]