Skip to content

0.1.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@alexeichhorn alexeichhorn released this 28 Jan 17:02
· 1 commit to main since this 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)