Powered by Tachyonic Project Luxon Framework v0.0.0

Luxon Framework for rapid application development. (luxon)



Luxon provides a PKI authentication service

Authentication Class

class luxon.core.auth.Auth(expire=60)[source]

Authentication class.

Luxon auth tokens use PKI. Its required to have the private key to sign new tokens on the tachyonic api. Endpoints will require the public cert to validate tokens authenticity.

The tokens should be stored in the application root. Usually where the wsgi file is located.

Creating token:
openssl req -nodes -new -x509 -keyout token.key -out token.cert

# Create RSA Privat Key with 2048 bits openssl genrsa -des3 -out private.pem 2048