Skip to content

4.0.0

Compare
Choose a tag to compare
@aliirfaan aliirfaan released this 06 Sep 11:41
· 17 commits to master since this release

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