think-jwt
think-jwt copied to clipboard
无法关闭单点登录。
无法关闭单点登录。 'sso'=>[ 'enable'=>false ], 无效果。
` return [ 'default' => 'admin', 'apps' => [ 'admin' => [ 'sso'=>[ 'enable'=>false ], 'token' => [
'ssoCacheKey' => 'jwt-auth-user',
'ssoKey' => 'uid',
'uniqidKey' => 'uid',
'signerKey' => 'RvAjzUhtJs',
'notBefore' => 0,
'expiresAt' => 136000,
'refreshTTL' => 172000,
'signer' => 'Lcobucci\JWT\Signer\Hmac\Sha256',
'type' => 'Header',
'refresh' => 50001,
'relogin' => 50002,
'iss' => 'client.tant',
'aud' => 'server.tant',
'automaticRenewal' => false,
],
'user' => [
'bind' => true,
'model' => 'app\\common\\model\\User',
],
],
'wechat' => [
'token' => [
'uniqidKey' => 'uid',
'signerKey' => 'AYIB8IVcwSE',
'notBefore' => 0,
'expiresAt' => 36000,
'refreshTTL' => 72000,
'signer' => 'Lcobucci\JWT\Signer\Hmac\Sha256',
'type' => 'Header',
'refresh' => 50001,
'relogin' => 50002,
'iss' => 'client.tant',
'aud' => 'server.tant',
'automaticRenewal' => false,
],
'user' => [
'bind' => true,
'model' => 'app\\common\\model\\Member',
],
],
],
'manager' => [
// 缓存前缀
'prefix' => 'jwt',
// 黑名单缓存名
'blacklist' => 'blacklist',
// 白名单缓存名
'whitelist' => 'whitelist',
],
]; `
提供下当前版本