0.1.1
Pre-release
Pre-release
New async variant to generate a token:
let token = try await jwp.generate(claims: ["hello": "world"])
You can manually specify the DispatchQueue it should run in:
let token = try await jwp.generate(claims: ["hello": "world"], in: queue)
or just the qos of the global queue:
let token = try await jwp.generate(claims: ["hello": "world"], qos: .background)