1.2.0
Introduces a new builder pattern for creating payloads when creating a JWT.
JWT.encode(.HS256("secret")) { builder in
builder.issuer = "fuller.li"
builder.issuedAt = NSDate()
builder["custom"] = "Hi"
}
Introduces a new builder pattern for creating payloads when creating a JWT.
JWT.encode(.HS256("secret")) { builder in
builder.issuer = "fuller.li"
builder.issuedAt = NSDate()
builder["custom"] = "Hi"
}