object JWTMacImpure
- Source
- JWTMac.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JWTMacImpure
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
build[A](claims: JWTClaims, key: MacSigningKey[A])(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): MacErrorM[JWTMac[A]]
Default methods
- def buildToString[A](header: JWSMacHeader[A], body: JWTClaims, key: MacSigningKey[A])(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): MacErrorM[String]
- def buildToString[A](body: JWTClaims, key: MacSigningKey[A])(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): MacErrorM[String]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- implicit def eq[A]: Eq[JWTMac[A]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def generateSignature[A](body: JWTClaims, key: MacSigningKey[A])(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): MacErrorM[MAC[A]]
-
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
-
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 parseUnverified[A](jwt: String)(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): MacErrorM[JWTMac[A]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toEncodedString[A](jwt: JWTMac[A])(implicit arg0: JWTMacAlgo[A], s: JWSMacCV[MacErrorM, A]): String
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def verifyAndParse[A](jwt: String, key: MacSigningKey[A])(implicit s: JWSMacCV[MacErrorM, A]): MacErrorM[JWTMac[A]]
- def verifyFromInstance[A](jwt: JWTMac[A], key: MacSigningKey[A])(implicit arg0: JWTMacAlgo[A], hs: JWSSerializer[JWSMacHeader[A]], cv: JWSMacCV[MacErrorM, A]): MacErrorM[Boolean]
-
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.
-
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
- @native() @throws( ... )