Skip to content

Server side implementation example of JWT (JSON Web Token) authentication using Slim3, use to demo mobile project

License

Notifications You must be signed in to change notification settings

PhanVanLinh/slim3-jwt-auth-example

 
 

Repository files navigation

PHPMySlimServer

Fork from (Slim3 JWT authentication example) https://github.com/letsila/slim3-jwt-auth-example

Some customize

  • Naming convention
  • Create database
    CREATE TABLE `tokens` (
      `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
      `value` text,
      `user_id` int(11) DEFAULT NULL,
      `created_date` int(11) DEFAULT NULL,
      `expiration_date` int(11) DEFAULT NULL,
      PRIMARY KEY (`id`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Some note

  • Run server: php -S 0.0.0.0:8080 -t public public/index.php

Mobile project link

https://github.com/PhanVanLinh/AndroidMVPKotlin

License

MIT

About

Server side implementation example of JWT (JSON Web Token) authentication using Slim3, use to demo mobile project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 90.5%
  • HTML 9.5%