Packages

o

tsec.jws.mac

JWTMacImpure

object JWTMacImpure

Source
JWTMac.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JWTMacImpure
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def build[A](claims: JWTClaims, key: MacSigningKey[A])(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): MacErrorM[JWTMac[A]]

    Default methods

  6. def buildToString[A](header: JWSMacHeader[A], body: JWTClaims, key: MacSigningKey[A])(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): MacErrorM[String]
  7. def buildToString[A](body: JWTClaims, key: MacSigningKey[A])(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): MacErrorM[String]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. implicit def eq[A]: Eq[JWTMac[A]]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def generateSignature[A](body: JWTClaims, key: MacSigningKey[A])(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): MacErrorM[MAC[A]]
  14. def generateSignature[A](header: JWSMacHeader[A], body: JWTClaims, key: MacSigningKey[A])(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): MacErrorM[MAC[A]]

    Sign the header and the body with the given key, into a jwt object

    Sign the header and the body with the given key, into a jwt object

    header

    the JWT header

  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def parseUnverified[A](jwt: String)(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): MacErrorM[JWTMac[A]]
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toEncodedString[A](jwt: JWTMac[A])(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): String
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def verifyAndParse[A](jwt: String, key: MacSigningKey[A])(implicit s: JWSMacCV[MacErrorM, A]): MacErrorM[JWTMac[A]]
  26. def verifyFromInstance[A](jwt: JWTMac[A], key: MacSigningKey[A])(implicit arg0: JWTMacAlgo[A], hs: JWSSerializer[JWSMacHeader[A]], cv: JWSMacCV[MacErrorM, A]): MacErrorM[Boolean]
  27. def verifyFromString[A](jwt: String, key: MacSigningKey[A])(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): MacErrorM[Boolean]

    Verify the JWT

    Verify the JWT

    A

    the signing algorithm

    jwt

    the JWT, as a string representation

    key

    the signing key

    returns

    Signing output as a boolean or a MacError. Useful to detect any other errors aside from malformed input.

  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped