corsac-dart / jwt

Lightweight implementation of JSON Web Tokens (JWT)
BSD 2-Clause "Simplified" License
45 stars 28 forks source link

Audience now accepts either a single string or a list of strings #6

Closed Marco-Parente closed 4 years ago

Marco-Parente commented 4 years ago

Because some oAuth2 and OIDC services can also return a list of audiences, not just a String. Example: https://github.com/ory/hydra

codecov-io commented 4 years ago

Codecov Report

Merging #6 into master will increase coverage by <.01%. The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
+ Coverage    99.1%   99.11%   +<.01%     
==========================================
  Files           1        1              
  Lines         112      113       +1     
==========================================
+ Hits          111      112       +1     
  Misses          1        1
Impacted Files Coverage Δ
lib/corsac_jwt.dart 99.11% <85.71%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d073e41...4f5a910. Read the comment docs.