PHPackages                             gdshenrun/caiss-auth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. gdshenrun/caiss-auth

ActiveLibrary

gdshenrun/caiss-auth
====================

hyperf 的 auth 组件

1.0.1(5y ago)06MITPHPPHP &gt;=7.2

Since Jan 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/gdshenrun/caiss-auth)[ Packagist](https://packagist.org/packages/gdshenrun/caiss-auth)[ Docs](https://github.com/gdshenrun/caiss-file.git)[ RSS](/packages/gdshenrun-caiss-auth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (14)Versions (2)Used By (0)

gdshenrun/caiss-auth
====================

[](#gdshenruncaiss-auth)

hyperf 的 auth 组件，目前支持 jwt、session 驱动。用户可以自行扩展。
本组件参考了 laravel 的 auth 组件设计，使用体验大体和 laravel 的 auth 差不多, 参考了 gdshenrun/hyperf-auth

安装 - install
------------

[](#安装---install)

```
$ composer require gdshenrun/caiss-auth
```

> hyperf 2 +

配置 - configuration
------------------

[](#配置---configuration)

使用 `Gdshenrun\CaissAuth\AuthExceptionHandler` ，此步骤可选，开发者可以自行捕捉 `AuthException` 和 `JWTException` 进行处理

```
