tlagore / footy

1 stars 0 forks source link

made Auth an installable package & changed config around #20

Closed tlagore closed 5 years ago

tlagore commented 5 years ago

You can install Auth as a package now just

pip install ./path/to/Auth

Ensure you you have the private key file in the directory of your project if you intend to use it. Override the config to KeyManager if you have changed its name.

from auth.config import KMConfig KMConfig["PKEY_FILE"] = "./your/private/key.pem" kvm = KeyManager() ...etc