symphony.bdk.core.auth.jwt_helper#

Module to help with jwt handling.

Functions

create_signed_jwt(private_key_config, username)

Creates a JWT with the provided user name and expiration date, signed with the provided private key.

create_signed_jwt_with_claims(private_key, ...)

Creates a JWT with the payload signed with the provided private key content.

validate_jwt(jwt_token, certificate, ...)

Validate a jwt against a X509 certificate in pem format and returns the jwt claims.