RoutexTicketIssuer
Parameters
apiKeyId
Identifier of the API key, set as the JWT kid header so the routex backend can pick the correct verifying key.
apiKeySecret
HMAC-SHA256 key bytes; the issuer never logs or otherwise exposes it.
ttl
Default time-to-live applied to every issued ticket unless the call site supplies its own override.
Convenience constructor that decodes base64Secret as standard Base64.
Parameters
apiKeyId
Identifier of the API key, set as the JWT kid header so the routex backend can pick the correct verifying key.
base64Secret
HMAC-SHA256 key bytes encoded as standard Base64; the issuer never logs or otherwise exposes it.
ttl
Default time-to-live applied to every issued ticket unless the call site supplies its own override.
Throws
if base64Secret is not valid Base64.