├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── example ├── .gitignore ├── .htaccess ├── README.md ├── app │ ├── Auth.php │ └── UnauthorizedException.php ├── composer.json ├── composer.lock └── index.php └── src ├── TokenAuthentication.php └── TokenAuthentication ├── TokenNotFoundException.php ├── TokenSearch.php └── UnauthorizedExceptionInterface.php /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | /vendor 3 | composer.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/composer.json -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/example/.htaccess -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/example/README.md -------------------------------------------------------------------------------- /example/app/Auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/example/app/Auth.php -------------------------------------------------------------------------------- /example/app/UnauthorizedException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/example/app/UnauthorizedException.php -------------------------------------------------------------------------------- /example/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/example/composer.json -------------------------------------------------------------------------------- /example/composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/example/composer.lock -------------------------------------------------------------------------------- /example/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/example/index.php -------------------------------------------------------------------------------- /src/TokenAuthentication.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/src/TokenAuthentication.php -------------------------------------------------------------------------------- /src/TokenAuthentication/TokenNotFoundException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/src/TokenAuthentication/TokenNotFoundException.php -------------------------------------------------------------------------------- /src/TokenAuthentication/TokenSearch.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/src/TokenAuthentication/TokenSearch.php -------------------------------------------------------------------------------- /src/TokenAuthentication/UnauthorizedExceptionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyorg/slim-token-authentication/HEAD/src/TokenAuthentication/UnauthorizedExceptionInterface.php --------------------------------------------------------------------------------