khaqan / php-jwt
Independant php calss module for standard JWT
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
pkg:composer/khaqan/php-jwt
README
PHP implementation of Json Web Token based on RFC standards.
Supported Algorithms
- HS256 (Default)
- HS384
- HS512
validation responses
While validating a Json Web Token with secret key then returned response might be one of these
{"message": "", "status": 200, "result": "data"}
{"message": "no authorization token", "status": 401}
{"message": "invalid token", "status": 401}
{"message": "token expired", "status": 401}
{"message": "unauthorized request", "status": 401}