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 b30f707 commit ede8828Copy full SHA for ede8828
README.md
@@ -14,12 +14,8 @@ pod 'JWT'
14
15
## Usage
16
17
-### Decoding a JWT
18
-
19
```swift
20
import JWT
21
22
-JWT.decode("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.2_8pWJfyPup0YwOXK7g9Dn0cF1E3pdn299t4hSeJy5w")
23
```
24
25
### Encoding a claim
@@ -28,6 +24,12 @@ JWT.decode("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.2_8pWJfyPup0YwOXK7g9Dn0cF1E
28
JWT.encode(["my": "payload"], .HS256("secret"))
29
30
26
27
+### Decoding a JWT
+
+```swift
+JWT.decode("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.2_8pWJfyPup0YwOXK7g9Dn0cF1E3pdn299t4hSeJy5w")
31
+```
32
33
#### Supported claims
34
35
- Issuer (`iss`) Claim
0 commit comments