AuthType

zio.blocks.endpoint.AuthType
See theAuthType companion trait
object AuthType

Attributes

Companion
trait
Source
AuthType.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
AuthType.type

Members list

Type members

Classlikes

case object Basic extends AuthType

Attributes

Source
AuthType.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait AuthType
class Object
trait Matchable
class Any
Show all
Self type
Basic.type
case object Bearer extends AuthType

Attributes

Source
AuthType.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait AuthType
class Object
trait Matchable
class Any
Show all
Self type
Bearer.type
final case class Custom[ClientReq](codec: HttpCodec[Request, ClientReq]) extends AuthType

Attributes

Source
AuthType.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait AuthType
class Object
trait Matchable
class Any
Show all
case object Digest extends AuthType

Attributes

Source
AuthType.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait AuthType
class Object
trait Matchable
class Any
Show all
Self type
Digest.type
case object None extends AuthType

Attributes

Source
AuthType.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait AuthType
class Object
trait Matchable
class Any
Show all
Self type
None.type
final case class Or[ClientReq1, ClientReq2, ClientReq](left: AuthType { type ClientRequirement = ClientReq1; }, right: AuthType { type ClientRequirement = ClientReq2; }, alternator: WithOut[ClientReq1, ClientReq2, ClientReq]) extends AuthType

Attributes

Source
AuthType.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait AuthType
class Object
trait Matchable
class Any
Show all
final case class Scoped[ClientReq](inner: AuthType { type ClientRequirement = ClientReq; }, scopes: List[String]) extends AuthType

inner auth plus a descriptor-only scopes list. Scopes are NOT checked by the codec (it is inner.codec unchanged) — they are metadata for the server interpretation layer, which enforces them when handling the request.

inner auth plus a descriptor-only scopes list. Scopes are NOT checked by the codec (it is inner.codec unchanged) — they are metadata for the server interpretation layer, which enforces them when handling the request.

Attributes

Source
AuthType.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait AuthType
class Object
trait Matchable
class Any
Show all
final case class WithStatus[ClientReq](authType: AuthType { type ClientRequirement = ClientReq; }, unauthorizedStatus: Status) extends AuthType

Attributes

Source
AuthType.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait AuthType
class Object
trait Matchable
class Any
Show all

Types

type Basic = Basic.type

Attributes

Source
AuthType.scala
type Bearer = Bearer.type

Attributes

Source
AuthType.scala
type None = None.type

Attributes

Source
AuthType.scala

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala