Algorithm

zio.blocks.jwt.Algorithm
See theAlgorithm companion trait
object Algorithm

Supported JWT algorithms. Use Algorithm.fromString to parse an alg header value.

Attributes

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

Members list

Type members

Classlikes

case object ES256 extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
ES256.type
case object ES384 extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
ES384.type
case object ES512 extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
ES512.type
case object EdDSA extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
EdDSA.type
case object HS256 extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
HS256.type
case object HS384 extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
HS384.type
case object HS512 extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
HS512.type
case object PS256 extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
PS256.type
case object PS384 extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
PS384.type
case object PS512 extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
PS512.type
case object RS256 extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
RS256.type
case object RS384 extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
RS384.type
case object RS512 extends Algorithm

Attributes

Source
Algorithm.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Algorithm
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
RS512.type

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

Value members

Concrete methods

def fromString(s: String): Option[Algorithm]

Returns the algorithm for a given alg string, or None if unrecognised.

Returns the algorithm for a given alg string, or None if unrecognised.

Attributes

Source
Algorithm.scala

Concrete fields

val all: List[Algorithm]

All algorithms known to this library.

All algorithms known to this library.

Attributes

Source
Algorithm.scala