object JwtAlgorithm
- Alphabetic
- By Inheritance
- JwtAlgorithm
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def allAsymmetric(): Seq[JwtAsymmetricAlgorithm]
- Annotations
- @nowarn()
- def allECDSA(): Seq[JwtECDSAAlgorithm]
- def allEdDSA(): Seq[JwtEdDSAAlgorithm]
- Annotations
- @nowarn()
- def allHmac(): Seq[JwtHmacAlgorithm]
- def allRSA(): Seq[JwtRSAAlgorithm]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromString(algo: String): JwtAlgorithm
Deserialize an algorithm from its string equivalent.
Deserialize an algorithm from its string equivalent. Only real algorithms supported, if you need to support "none", use "optionFromString".
- algo
the name of the algorithm (e.g. HS256 or HmacSHA256)
- returns
the actual instance of the algorithm
- Annotations
- @nowarn()
- Exceptions thrown
JwtNonSupportedAlgorithm
in case the string doesn't match any known algorithm
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def optionFromString(algo: String): Option[JwtAlgorithm]
Deserialize an algorithm from its string equivalent.
Deserialize an algorithm from its string equivalent. If it's the special "none" algorithm, return None, else, return Some with the corresponding algorithm inside.
- algo
the name of the algorithm (e.g. none, HS256 or HmacSHA256)
- returns
the actual instance of the algorithm
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object ES256 extends JwtECDSAAlgorithm with Product with Serializable
- case object ES384 extends JwtECDSAAlgorithm with Product with Serializable
- case object ES512 extends JwtECDSAAlgorithm with Product with Serializable
- case object EdDSA extends JwtEdDSAAlgorithm with Product with Serializable
- case object HMD5 extends JwtHmacAlgorithm with Product with Serializable
- case object HS224 extends JwtHmacAlgorithm with Product with Serializable
- case object HS256 extends JwtHmacAlgorithm with Product with Serializable
- case object HS384 extends JwtHmacAlgorithm with Product with Serializable
- case object HS512 extends JwtHmacAlgorithm with Product with Serializable
- case object RS256 extends JwtRSAAlgorithm with Product with Serializable
- case object RS384 extends JwtRSAAlgorithm with Product with Serializable
- case object RS512 extends JwtRSAAlgorithm with Product with Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- case object Ed25519 extends JwtEdDSAAlgorithm with Product with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 9.3.0) Ed25519 is not a standard Json Web Algorithm name. Use EdDSA instead.