package
2024.3.0+incompatible
Repository: https://github.com/hiveot/hub.git
Documentation: pkg.go.dev

# Functions

CreateToken creates a signed JWT authtoken for a client.
LoadCreateUserKP loads a user keypair, or creates one if it doesn't exist pemPath is file of key or "" to just create it writeChanges if a file is given and key is generated This returns the public/private key pair with a public key string, or an error.
ValidateToken verifies the given JWT token and returns its claims.