Useless merge
This commit is contained in:
commit
fabf160346
@ -48,7 +48,7 @@ or a `JWTPlaintextKey` and pass it to the `JWTToken` constructor:
|
|||||||
$tok->claims->add("some/claim/MaxItems", 8);
|
$tok->claims->add("some/claim/MaxItems", 8);
|
||||||
|
|
||||||
$str = $tok->getSignedToken();
|
$str = $tok->getSignedToken();
|
||||||
|
```
|
||||||
|
|
||||||
### Parsing tokens
|
### Parsing tokens
|
||||||
|
|
||||||
@ -72,6 +72,7 @@ Parsing is done by passing the raw token as the 2nd parameter
|
|||||||
|
|
||||||
// You can also use valueOf() to return a default value if needed
|
// You can also use valueOf() to return a default value if needed
|
||||||
$val = $tok->claims->valueOf("some/claim/MaxItems", 64);
|
$val = $tok->claims->valueOf("some/claim/MaxItems", 64);
|
||||||
|
```
|
||||||
|
|
||||||
### Validating tokens
|
### Validating tokens
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user