Authorization

zio.http.Header.Authorization
See theAuthorization companion trait
object Authorization extends HeaderType

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
trait HeaderType
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

final case class Basic(username: String, password: Secret) extends Authorization

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object Basic

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Basic.type
final case class Bearer(token: Secret) extends Authorization

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object Bearer

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Bearer.type
final case class Digest(response: String, username: String, realm: String, uri: URI, opaque: String, algorithm: String, qop: String, cnonce: String, nonce: String, nc: Int, userhash: Boolean) extends Authorization

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
final case class Unparsed(authScheme: String, authParameters: Secret) extends Authorization

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object Unparsed

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Unparsed.type

Types

override type HeaderValue = Authorization

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

override def name: String

Attributes

Definition Classes
def parse(value: String): Either[String, Authorization]
def render(header: Authorization): String