JWSMacHeader

tsec.jws.mac.JWSMacHeader$
See theJWSMacHeader companion class
object JWSMacHeader

Attributes

Companion
class
Source
JWSMacHeader.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[A](implicit algo: JWTMacAlgo[A]): JWSMacHeader[A]

Attributes

Source
JWSMacHeader.scala

Implicits

Implicits

implicit def decoder[A : JWTMacAlgo]: Decoder[JWSMacHeader[A]]

For our decoder, we we know, a priori, the type of header we should have since we decode for some algorithm A, we avoid the vulnerability of parsing the algorithm, then verifying against it.

For our decoder, we we know, a priori, the type of header we should have since we decode for some algorithm A, we avoid the vulnerability of parsing the algorithm, then verifying against it. That is, the server should know the algorithm before trying to deserialize it.

Attributes

See also
Source
JWSMacHeader.scala
implicit def encoder[A : JWTMacAlgo]: Encoder[JWSMacHeader[A]] { def apply(a: JWSMacHeader[A]): Json; }

Attributes

Source
JWSMacHeader.scala
implicit def genSerializer[A : JWTMacAlgo](implicit evidence$3: JWTMacAlgo[A], d: Decoder[JWSMacHeader[A]], e: Encoder[JWSMacHeader[A]]): JWSSerializer[JWSMacHeader[A]]

Attributes

Source
JWSMacHeader.scala