PHP-Open-Source-Saver / jwt-auth

🔐 JSON Web Token Authentication for Laravel & Lumen
MIT License
729 stars 113 forks source link

FEAT: custom TTLs for each guard #223

Closed avidianity closed 1 year ago

avidianity commented 1 year ago

Description

  1. Adds the ability to optionally define a custom TTL for each guard.
  2. Added a getter for ttl at JWTGuard.php
  3. Added null to return type in getTTL() at Factory.php

Fixes #164

Checklist:

Messhias commented 1 year ago

@eschricker sounds good for me, what do you think?

eschricker commented 1 year ago

Looks good to me