update to 12.0.1

This commit is contained in:
Bevan Hunt 2021-04-08 16:47:46 -07:00
parent ff3ee38608
commit 067a83a2ad
4 changed files with 8 additions and 3 deletions

View File

@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [12.0.1] - 2021-04-08
### Updated
- Updated README
## [12.0.0] - 2021-04-08 ## [12.0.0] - 2021-04-08
### Added ### Added

2
Cargo.lock generated
View File

@ -480,7 +480,7 @@ dependencies = [
[[package]] [[package]]
name = "broker" name = "broker"
version = "12.0.0" version = "12.0.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-std", "async-std",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "broker" name = "broker"
version = "12.0.0" version = "12.0.1"
authors = ["Bevan Hunt <bevan@bevanhunt.com>"] authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"

View File

@ -104,7 +104,7 @@ will return
"jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MTc2NzQ5MTUsImlhdCI6MTYxNzU4ODUxNSwiaXNzIjoiRGlzcGF0Y2hlciIsInN1YiI6ImZvbyJ9.OwiaZJcFUC_B0CA0ffRZVTWKRf5_vQ7vt5USNJEeKRE" "jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MTc2NzQ5MTUsImlhdCI6MTYxNzU4ODUxNSwiaXNzIjoiRGlzcGF0Y2hlciIsInN1YiI6ImZvbyJ9.OwiaZJcFUC_B0CA0ffRZVTWKRf5_vQ7vt5USNJEeKRE"
} }
``` ```
- note: `iss` is `Broker` while `aud` is the user scopes joined with a comma like in this example `news:get,news:post` - note: `iat` is the issue time, `exp` is the expiry time, `sub` is the username, `iss` is `Broker`, while `aud` is the user scopes joined with a comma like in this example `news:get,news:post`
- note: if you need to debug your JWT then visit [jwt.io](https://jwt.io) - note: if you need to debug your JWT then visit [jwt.io](https://jwt.io)
#### Step 3 - connect to SSE #### Step 3 - connect to SSE