rasenmaeher_api.jwtinit
Init JWT issuer
Module Contents
Functions
|
handle TILAUSPALVELU public key |
|
Handle KRAFTWERK Public Keys copy |
Resolve the directory for public keys and make sure it exists |
|
Check public keys |
|
Check that we instantiate the issuer |
|
Check that we have key we can use for issuing and decoding JWTs |
|
resolve the path for the private key |
|
|
resolve the path for the public key |
|
If needed: Create keypair |
Attributes
- _check_public_keys_tilauspalvelu(pubkeydir)[source]
handle TILAUSPALVELU public key
- Parameters:
pubkeydir (pathlib.Path)
- Return type:
None
- _check_public_keys_kraftwerk(pubkeydir)[source]
Handle KRAFTWERK Public Keys copy
- Parameters:
pubkeydir (pathlib.Path)
- Return type:
None
- resolve_pubkeydir()[source]
Resolve the directory for public keys and make sure it exists
- Return type:
- check_jwt_init()[source]
Check that we have key we can use for issuing and decoding JWTs
- Return type: