We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7188dc commit d9a419aCopy full SHA for d9a419a
README.md
@@ -34,7 +34,7 @@ claims.issuer = "fuller.li"
34
claims.issuedAt = Date()
35
claims["custom"] = "Hi"
36
37
-JWT.encode(claims: claims, algorithm: .hs256("secret".data(using: .utf8)))
+JWT.encode(claims: claims, algorithm: .hs256("secret".data(using: .utf8)!))
38
```
39
40
#### Building a JWT with the builder pattern
0 commit comments