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]
- 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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- 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 EdDSA extends JwtEdDSAAlgorithm 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
Deprecated Value Members
-
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.