AccessToken.php 594 B

12345678910111213141516171819202122232425262728
  1. <?php namespace App\Facades\Servers\Encrypts;
  2. use Illuminate\Support\Facades\Facade;
  3. /**
  4. * 用户权限令牌(JWT)
  5. *
  6. * @method static string encode(array $data) 加密数据
  7. * @method static array decode(string $access_token) 解密数据
  8. *
  9. * @author liuxaingxin
  10. * @see \App\Servers\Encrypts\AccessToken
  11. *
  12. */
  13. class AccessToken extends Facade
  14. {
  15. /**
  16. * Get the registered name of the component.
  17. *
  18. * @return string
  19. */
  20. protected static function getFacadeAccessor()
  21. {
  22. return '\App\Servers\Encrypts\AccessToken';
  23. }
  24. }
  25. ?>