├── .gitattributes ├── .gitignore ├── .php-cs-fixer.php ├── .phpstorm.meta.php ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml ├── publish └── jwt.php └── src ├── Annotation └── Auth.php ├── Aspect └── AuthAspect.php ├── AuthManager.php ├── Blacklist.php ├── Codec.php ├── Commands ├── AbstractGenCommand.php ├── GenJwtKeypairCommand.php └── GenJwtSecretCommand.php ├── ConfigProvider.php ├── Contracts ├── JwtSubjectInterface.php └── RequestParser │ └── HandlerInterface.php ├── Exceptions ├── AuthException.php ├── Handlers │ └── AuthExceptionHandler.php ├── JwtException.php ├── TokenBlacklistedException.php ├── TokenInvalidException.php └── UnauthorizedException.php ├── Functions.php ├── Manager.php └── RequestParser ├── Handlers ├── AuthHeaders.php └── Cookies.php └── RequestParser.php /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | /vendor/ 3 | composer.lock 4 | *.cache 5 | *.log -------------------------------------------------------------------------------- /.php-cs-fixer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/.php-cs-fixer.php -------------------------------------------------------------------------------- /.phpstorm.meta.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/.phpstorm.meta.php -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/phpunit.xml -------------------------------------------------------------------------------- /publish/jwt.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/publish/jwt.php -------------------------------------------------------------------------------- /src/Annotation/Auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Annotation/Auth.php -------------------------------------------------------------------------------- /src/Aspect/AuthAspect.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Aspect/AuthAspect.php -------------------------------------------------------------------------------- /src/AuthManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/AuthManager.php -------------------------------------------------------------------------------- /src/Blacklist.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Blacklist.php -------------------------------------------------------------------------------- /src/Codec.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Codec.php -------------------------------------------------------------------------------- /src/Commands/AbstractGenCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Commands/AbstractGenCommand.php -------------------------------------------------------------------------------- /src/Commands/GenJwtKeypairCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Commands/GenJwtKeypairCommand.php -------------------------------------------------------------------------------- /src/Commands/GenJwtSecretCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Commands/GenJwtSecretCommand.php -------------------------------------------------------------------------------- /src/ConfigProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/ConfigProvider.php -------------------------------------------------------------------------------- /src/Contracts/JwtSubjectInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Contracts/JwtSubjectInterface.php -------------------------------------------------------------------------------- /src/Contracts/RequestParser/HandlerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Contracts/RequestParser/HandlerInterface.php -------------------------------------------------------------------------------- /src/Exceptions/AuthException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Exceptions/AuthException.php -------------------------------------------------------------------------------- /src/Exceptions/Handlers/AuthExceptionHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Exceptions/Handlers/AuthExceptionHandler.php -------------------------------------------------------------------------------- /src/Exceptions/JwtException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Exceptions/JwtException.php -------------------------------------------------------------------------------- /src/Exceptions/TokenBlacklistedException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Exceptions/TokenBlacklistedException.php -------------------------------------------------------------------------------- /src/Exceptions/TokenInvalidException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Exceptions/TokenInvalidException.php -------------------------------------------------------------------------------- /src/Exceptions/UnauthorizedException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Exceptions/UnauthorizedException.php -------------------------------------------------------------------------------- /src/Functions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Functions.php -------------------------------------------------------------------------------- /src/Manager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/Manager.php -------------------------------------------------------------------------------- /src/RequestParser/Handlers/AuthHeaders.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/RequestParser/Handlers/AuthHeaders.php -------------------------------------------------------------------------------- /src/RequestParser/Handlers/Cookies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/RequestParser/Handlers/Cookies.php -------------------------------------------------------------------------------- /src/RequestParser/RequestParser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1n6yun/hyperf-jwt/HEAD/src/RequestParser/RequestParser.php --------------------------------------------------------------------------------