object JwtAlgorithm
- Alphabetic
- By Inheritance
- JwtAlgorithm
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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]
- def allECDSA(): Seq[JwtECDSAAlgorithm]
- def allHmac(): Seq[JwtHmacAlgorithm]
- def allRSA(): Seq[JwtRSAAlgorithm]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws(classOf[java.lang.CloneNotSupportedException])
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: Any): 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
- Exceptions thrown
JwtNonSupportedAlgorithm
in case the string doesn't match any known algorithm
- final def getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- Exceptions thrown
JwtNonSupportedAlgorithm
in case the string doesn't match any known algorithm nor "none"
- 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
- @native() @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object ES256 extends JwtECDSAAlgorithm with Product with Serializable
- object ES384 extends JwtECDSAAlgorithm with Product with Serializable
- object ES512 extends JwtECDSAAlgorithm with Product with Serializable
- object HMD5 extends JwtHmacAlgorithm with Product with Serializable
- object HS224 extends JwtHmacAlgorithm with Product with Serializable
- object HS256 extends JwtHmacAlgorithm with Product with Serializable
- object HS384 extends JwtHmacAlgorithm with Product with Serializable
- object HS512 extends JwtHmacAlgorithm with Product with Serializable
- object RS256 extends JwtRSAAlgorithm with Product with Serializable
- object RS384 extends JwtRSAAlgorithm with Product with Serializable
- object RS512 extends JwtRSAAlgorithm with Product with Serializable