JwtError

zio.blocks.jwt.JwtError
See theJwtError companion trait
object JwtError

Attributes

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

Members list

Type members

Classlikes

case class AlgorithmMismatch(expected: String, found: String) extends JwtError

The alg header does not match the algorithm the caller requested.

The alg header does not match the algorithm the caller requested.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class ExpiredToken(expiredAt: Long, now: Long) extends JwtError

The token's exp claim is in the past.

The token's exp claim is in the past.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class InvalidClaim(claim: String, reason: String) extends JwtError

A claim value is present but fails validation.

A claim value is present but fails validation.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class InvalidKey(reason: String) extends JwtError

The supplied key is malformed, weak, or does not match the required algorithm.

The supplied key is malformed, weak, or does not match the required algorithm.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class InvalidSignature(alg: String) extends JwtError

Cryptographic signature verification failed.

Cryptographic signature verification failed.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class InvalidToken(reason: String) extends JwtError

The token is structurally or semantically malformed.

The token is structurally or semantically malformed.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class JsonTooLarge(size: Int, max: Int) extends JwtError

The decoded JSON payload/header exceeds the configured maximum JSON length.

The decoded JSON payload/header exceeds the configured maximum JSON length.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class MissingClaim(claim: String) extends JwtError

A required claim was absent from the token.

A required claim was absent from the token.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class NotYetValid(notBefore: Long, now: Long) extends JwtError

The token's nbf claim is in the future.

The token's nbf claim is in the future.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class SegmentTooLarge(size: Int, max: Int) extends JwtError

A single JWT segment exceeds the configured maximum segment length.

A single JWT segment exceeds the configured maximum segment length.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class TokenTooLarge(size: Int, max: Int) extends JwtError

The compact token exceeds the configured maximum token length.

The compact token exceeds the configured maximum token length.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class TooDeep(depth: Int, maxDepth: Int) extends JwtError

The JSON structure exceeds the configured maximum nesting depth.

The JSON structure exceeds the configured maximum nesting depth.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class TooManyElements(count: Int, max: Int) extends JwtError

The JSON array has too many elements.

The JSON array has too many elements.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class TooManyFields(count: Int, max: Int) extends JwtError

The JSON object has too many fields.

The JSON object has too many fields.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class UnsupportedAlgorithm(alg: String) extends JwtError

The active JwtCryptoBackend does not support this algorithm.

The active JwtCryptoBackend does not support this algorithm.

Attributes

Source
JwtError.scala
Supertypes
trait Product
trait Equals
trait JwtError
trait NoStackTrace
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

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