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.

class Any
class UnauthorizedOps[F, G]

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]]

Inherited methods

Inherited from:
ResponseGenerator