Skip to content

Releases: aliirfaan/laravel-simple-jwt

8.1.1

19 Jun 07:19
Compare
Choose a tag to compare

Added

  • Nothing

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • nothing

Fixed

  • verifyJwtToken() check if token is null before decoded using JWT::decode()

8.1.0

02 May 12:19
Compare
Choose a tag to compare

Added

  • upgraded firebase/php-jwt dependency to ^6.0

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • nothing

Fixed

  • nothing

8.0.2

09 Sep 12:28
Compare
Choose a tag to compare

Added

  • Nothing

Changed

  • SimpleJwtGuard authenticateByToken()

Deprecated

  • Nothing

Removed

  • nothing

Fixed

8.0.1

08 Sep 17:06
Compare
Choose a tag to compare

Added

  • Nothing

Changed

  • SimpleJwtGuard authenticateByToken()

Deprecated

  • Nothing

Removed

  • nothing

Fixed

  • authenticateByToken() case where user provider can return null for valid token

8.0.0

09 Aug 11:01
Compare
Choose a tag to compare

Added

  • Guard method authenticateByToken() to authenticate using token

Changed

  • SimpleJwtGuard

  • JwtHelperService verifyJwtToken($token, $profile = 'default')

Deprecated

  • Nothing

Removed

  • nothing

Fixed

  • Nothing

7.0.0

03 Aug 12:39
Compare
Choose a tag to compare

Added

  • noting

Changed

  • SimpleJwtGuard allow to push custom claims when generating jwt token in guard

Deprecated

  • Nothing

Removed

  • nothing

Fixed

  • Nothing

6.0.1

02 Aug 12:07
Compare
Choose a tag to compare

6.0.0

20 Jul 10:57
Compare
Choose a tag to compare

Added

  • device_id column to bind refresh token to a device

Changed

  • ModelRefreshToken to use device_id column
  • processRefreshToken() add deviceId as parameter

Deprecated

  • Nothing

Removed

  • nothing

Fixed

  • Nothing

5.0.0

20 Jul 09:53
Compare
Choose a tag to compare

Added

  • Contracts\JwtServiceInterface
  • Services\Auth\SimpleJwtGuard, implements Illuminate\Contracts\Auth\Guard

Changed

  • createJwtToken($customPayload, $profile = 'default', $overrideClaims = []) now setting sub (subject) reserved claim
  • JwtHelperService now implements Contracts\JwtServiceInterface

Deprecated

  • Nothing

Removed

  • nothing

Fixed

  • Nothing

4.0.0

06 Sep 11:41
Compare
Choose a tag to compare

Added

  • profiles in config
  • leeway to account for clock skew when verifying JWT
  • loadJwtProfile($profile) in service

Changed

  • createJwtToken($customPayload, $profile = 'default', $overrideClaims = []) create jwt based on profile, ability to add/override claims on creation
  • verifyJwtToken($token, $profile = 'default') verify based on profile
  • createRefreshToken($profile = 'default') refresh token based on profile
  • processRefreshToken($modelType, $modelId, $token = null, $profile = 'default') process refresh token based on profile

Deprecated

  • Nothing

Removed

  • All class attributes in JwtHelperService class

Fixed

  • Nothing