Packages

object JwtAlgorithm

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JwtAlgorithm
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def allAsymmetric(): Seq[JwtAsymmetricAlgorithm]
  2. def allECDSA(): Seq[JwtECDSAAlgorithm]
  3. def allEdDSA(): Seq[JwtEdDSAAlgorithm]
  4. def allHmac(): Seq[JwtHmacAlgorithm]
  5. def allRSA(): Seq[JwtRSAAlgorithm]
  6. 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

  7. 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

  8. object ES256 extends JwtECDSAAlgorithm with Product with Serializable
  9. object ES384 extends JwtECDSAAlgorithm with Product with Serializable
  10. object ES512 extends JwtECDSAAlgorithm with Product with Serializable
  11. object Ed25519 extends JwtEdDSAAlgorithm with Product with Serializable
  12. object HMD5 extends JwtHmacAlgorithm with Product with Serializable
  13. object HS224 extends JwtHmacAlgorithm with Product with Serializable
  14. object HS256 extends JwtHmacAlgorithm with Product with Serializable
  15. object HS384 extends JwtHmacAlgorithm with Product with Serializable
  16. object HS512 extends JwtHmacAlgorithm with Product with Serializable
  17. object RS256 extends JwtRSAAlgorithm with Product with Serializable
  18. object RS384 extends JwtRSAAlgorithm with Product with Serializable
  19. object RS512 extends JwtRSAAlgorithm with Product with Serializable