Compare commits
2 Commits
e8383fb93e
...
4d22a1d063
Author | SHA1 | Date |
---|---|---|
wangxinglong | 4d22a1d063 | |
wangxinglong | 5e47321dd3 |
|
@ -18,7 +18,7 @@ use Lcobucci\JWT\Validation\Constraint\ValidAt;
|
|||
class Jwt
|
||||
{
|
||||
private static $secret = 'lF9XkOMfpsR0ODVfbasY2HtDrIps8GIX';
|
||||
private static $expire = 7200 * 10;//秒
|
||||
private static $expire = 86400;//秒
|
||||
private static $iss = 'dxtc';//jwt签发者
|
||||
private static $sub = 'dxtc-customer';//jwt所面向的用户
|
||||
private static $aud = 'dxtc-customer';//接受jwt的一方
|
||||
|
|
Loading…
Reference in New Issue