Skip to content

Commit

Permalink
Add link to Rs256 encryption example
Browse files Browse the repository at this point in the history
  • Loading branch information
emarref committed Aug 24, 2016
1 parent 4069f6a commit dca57d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -67,6 +67,8 @@ $encryption = Emarref\Jwt\Encryption\Factory::create($algorithm);
$serializedToken = $jwt->serialize($token, $encryption);
```

An example of using Rs256 encryption with a key pair can be found in the wiki - [Using RS256 Encryption](https://github.com/emarref/jwt/wiki/Using-RS256-Encryption).

To use a serialized token, first deserialize it into a `Emarref\Jwt\Token` object using a `Jwt` instance.

```php
Expand Down

0 comments on commit dca57d5

Please sign in to comment.