struct

LavinMQ::Auth::JWT::Header

Inherits JSON::Serializable::Unmapped < JSON::Serializable < Struct < Value < Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, alg : String | Nil = nil, typ : String | Nil = nil, kid : String | Nil = nil)
Source

Instance methods

[](key : String)
Source
[]=(key : String, value)
Source
[]?(key : String)
Source
alg=(alg : String)
Source
kid=(kid : String | Nil)
Source
typ=(typ : String | Nil)
Source