JwtHeader

class JwtHeader(val algorithm: Option[JwtAlgorithm], val typ: Option[String], val contentType: Option[String], val keyId: Option[String])
Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def canEqual(other: Any): Boolean
override def equals(other: Any): Boolean
Definition Classes
Any
override def hashCode(): Int
Definition Classes
Any
def toJson: String
def withKeyId(keyId: String): JwtHeader

Assign a key id to the header

Assign a key id to the header

def withType(typ: String): JwtHeader

Assign the type to the header

Assign the type to the header

Assign the default type JWT to the header

Assign the default type JWT to the header

Concrete fields

val algorithm: Option[JwtAlgorithm]
val contentType: Option[String]
val keyId: Option[String]
val typ: Option[String]