Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chandrakantapanda/codeignitor3-with-jwt-token
PHP Codeigniter Developer Jwt Token
https://github.com/chandrakantapanda/codeignitor3-with-jwt-token
codeigniter jwe jwk jwt-auth jwt-authentication jwt-bearer-tokens jwt-decode jwt-token php
Last synced: 11 days ago
JSON representation
PHP Codeigniter Developer Jwt Token
- Host: GitHub
- URL: https://github.com/chandrakantapanda/codeignitor3-with-jwt-token
- Owner: chandrakantapanda
- License: mit
- Created: 2024-01-03T11:26:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-03T13:21:27.000Z (about 1 year ago)
- Last Synced: 2024-10-14T05:42:02.339Z (4 months ago)
- Topics: codeigniter, jwe, jwk, jwt-auth, jwt-authentication, jwt-bearer-tokens, jwt-decode, jwt-token, php
- Language: PHP
- Homepage:
- Size: 495 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
Readme
## Requirements
PHP8.1 NGINX
composer
Jwt framework## Core Code
1. `JwekeyEncryption`
2. `ContentEncryption`
3. `Jwecompression`
4. `Serialization`**JwekeyEncryption**
```
$keyEncryptionAlgorithmManager = new AlgorithmManager([
new RSAOAEP256(),
]);
```
**ContentEncryption**
```
$contentEncryptionAlgorithmManager = new AlgorithmManager([
new A256CBCHS512(),
]);
```
**Jwecompression**
```
$compressionMethodManager = new CompressionMethodManager([
new Deflate(),
]);
```**Serialization**
```
$serializerManager = new JWESerializerManager([
new CompactSerializer()
]);
```## Implementation Details
- *We have already install composer and required package . No need to install again
-steps to achieve
install composer in localsystem- Run command to add package in our library.
- This library is use for algorithm list depends on the cypher operation to be performed (signature or encryption)
- Core component of the JWT Framework
```
composer require web-token/jwt-core
```
- This package is use for Generate A New Key
```
composer require web-token/jwt-key-mgmt
```- This package is use JWS serializers
```
composer require web-token/jwt-signature
```- This package is use for Header Checker JWT (JWS or JWE)
```
composer require web-token/jwt-checker
```- This package is use for Content encryption algorithm manager with the aescbc algorithm
```
web-token/jwt-encryption-algorithm-aescbc
```
- This package is use for key encryption algorithm manager with the RSA-OAEP-256 algorithm
```
composer require web-token/jwt-encryption-algorithm-rsa
```
For reference https://web-token.spomky-labs.com/