Basic

zio.http.endpoint.AuthType.Basic
case object Basic extends AuthType

Attributes

Source
AuthType.scala
Graph
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

Members list

Type members

Types

Attributes

Source
AuthType.scala

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Inherited and Abstract types

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Inherited methods

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

The HTTP status code returned when authentication fails. Defaults to Status.NotFound (404) for security (information hiding). Override with withUnauthorizedStatus to use e.g. Status.Unauthorized (401).

The HTTP status code returned when authentication fails. Defaults to Status.NotFound (404) for security (information hiding). Override with withUnauthorizedStatus to use e.g. Status.Unauthorized (401).

Attributes

Inherited from:
AuthType
Source
AuthType.scala

Returns a copy of this auth type with a different unauthorized status.

Returns a copy of this auth type with a different unauthorized status.

AuthType.Bearer.withUnauthorizedStatus(Status.Unauthorized)

Attributes

Inherited from:
AuthType
Source
AuthType.scala
def |[ClientReq2, ClientReq](that: AuthType { type ClientRequirement = ClientReq2; })(implicit alternator: WithOut[ClientRequirement, ClientReq2, ClientReq]): AuthType { type ClientRequirement = ClientReq; }

Attributes

Inherited from:
AuthType
Source
AuthType.scala

Concrete fields

override val codec: HeaderCodec[Basic]

Attributes

Source
AuthType.scala