Download the PHP package yiisoft/auth-jwt without Composer
On this page you can find all versions of the php package yiisoft/auth-jwt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yiisoft/auth-jwt
More information about yiisoft/auth-jwt
Files in yiisoft/auth-jwt
Package auth-jwt
Short Description Yii auth JWT method
License BSD-3-Clause
Homepage https://www.yiiframework.com/
Informations about the package auth-jwt
Yii Auth JWT
The package provides JWT authentication method for Yii Auth.
Requirements
- PHP 8.1 or higher.
Installation
The package could be installed with Composer:
General usage
Configuring within Yii
-
Set JWT parameters in your
params.php
config file: -
Setup definitions, required for
\Yiisoft\Auth\Middleware\Authentication
middleware in a config, for example, inconfig/web/auth.php
:Note: Don't forget to declare your implementations of
\Yiisoft\Auth\IdentityInterface
and\Yiisoft\Auth\IdentityRepositoryInterface
. - Use
Yiisoft\Auth\Middleware\Authentication
middleware. Read more about middlewares in the middleware guide.
Configuring independently
You can configure Authentication
middleware manually:
Documentation
- Internals
If you need help or have a question, the Yii Forum is a good place for that. You may also check out other Yii Community Resources.
License
The Yii Auth JWT is free software. It is released under the terms of the BSD License.
Please see LICENSE
for more information.
Maintained by Yii Software.
Support the project
Follow updates
All versions of auth-jwt with dependencies
psr/http-message Version ^1.0|^2.0
web-token/jwt-library Version ^3.3
yiisoft/auth Version ^3.0
yiisoft/http Version ^1.2
yiisoft/json Version ^1.0