Skip to content

SchunterKino/kinoapi-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kinoapi-token

Provide authentification for the API

This service validates a password sent over a HTTPS connection and generates a signed JSON Web Token. The token is sent back as a cookie which will be validated during the websocket handshake.

Installation

This project uses PHP Composer for dependency management. Requires the APCu PHP extension.

To get the dependencies, run

composer install

or (for local installations)

php composer.phar install

Copy config/config.example.php to config/config.php and set the required keys.

The script only accepts requests over HTTPS.

About

Provide authentification for the API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages