Skip to content

Release 2.0.0

Compare
Choose a tag to compare
@byjg byjg released this 09 Jan 02:38
· 13 commits to master since this release
0fcf39f

Major changes in the JwtWrapper breaking compatibility with old code:

  • Added unit tests to perform upgrade of components (Issue #1)
  • Upgrade to Firebase Library to 5.0.0
  • Added the algorithm RS512.
  • Added JwtKeyInterface (break compatibility)

Examples:

before

<?php
$jwt = new JwtWrapper("domain.com", "mykey")

Now

<?php
$jwt = new JwtWrapper("domain.com", new JwtKeySecret("mykey"))