t

org.http4s.dsl.impl

WwwAuthenticateResponseGenerator

trait WwwAuthenticateResponseGenerator[F[_], G[_]] extends ResponseGenerator

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.

Source
ResponseGenerator.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WwwAuthenticateResponseGenerator
  2. ResponseGenerator
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def status: Status
    Definition Classes
    ResponseGenerator

Concrete Value Members

  1. def apply[A](authenticate: WWW-Authenticate, body: A, headers: Header*)(implicit F: Monad[F], w: EntityEncoder[G, A]): F[Response[G]]
  2. def apply(authenticate: WWW-Authenticate, headers: Header*)(implicit F: Applicative[F]): F[Response[G]]

Deprecated Value Members

  1. def apply(challenge: Challenge, challenges: Challenge*)(implicit F: Applicative[F]): F[Response[G]]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.18.0-M2) Use apply(WWW-Authenticate(challenge, challenges) instead