Skip to content

Releases: friendsofthinkphp/think-jwt

v3.0.0.beta.7

21 Apr 14:16

Choose a tag to compare

// 获取所有参数
app('jwt.token')->getClaims();

// 获取指定参数
app('jwt.token')->getClaim($name);

// 获取uid
app('jwt.token')->getClaim('jti');

v3.0.0.beta.6

10 Apr 14:42
17d5eda

Choose a tag to compare

支持 单应用

v3.0.0.beta.5

09 Apr 05:40
7540d4e

Choose a tag to compare

Update JwtAuth.php

v3.0.0.beta.4

26 Mar 06:16
a43fac8

Choose a tag to compare

Update composer.json

v2.1.0-beta.1

05 Apr 09:02
7950dc4

Choose a tag to compare

注意

app('jwt')->token(['uid' => 1])

app('jwt')->token($uid, $cliams);

v3.0.0.beta.3

27 Feb 07:17

Choose a tag to compare

update

v3.0.0.beta.2

27 Feb 06:32

Choose a tag to compare

update

v3.0.0.beta.1

27 Feb 01:21

Choose a tag to compare

Merge branch 'next' of https://github.com/friendsofthinkphp/think-jwt…

v2.0.3

22 Feb 02:10
e24e608

Choose a tag to compare

支持 自定义模型绑定

app('jwt')->token([
  'uid' => $member->id,
  'model' => CustomUser::class
]

v2.0.2

28 Jan 05:41
e5020af

Choose a tag to compare

Update Token.php