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
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getClass(): Class[_]
    Definition Classes
    Any
  2. abstract def status: Status
    Definition Classes
    ResponseGenerator

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def apply[A](authenticate: WWW-Authenticate, body: A, headers: ToRaw*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]
  5. def apply(authenticate: WWW-Authenticate, headers: ToRaw*)(implicit F: Applicative[F]): F[Response[G]]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  8. def hashCode(): Int
    Definition Classes
    Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def toString(): String
    Definition Classes
    Any

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

Inherited from ResponseGenerator

Inherited from Any

Ungrouped