Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAuthCertsPathRequired = fmt.Errorf("authentication certificates path is required")
Functions ¶
func LoadJwtCerts ¶
func LoadJwtCerts() error
LoadJwtCerts loads the JWT certificates required for authentication from the specified paths. It expects paths to the X.509 certificate (certPath) and private key (keyPath) in the configuration. The loaded keypair is used for signing JWT tokens, and the public key is used for token verification. If the certificate or key cannot be loaded or parsed, an error is returned. The loaded keys are set in the configuration for later use in JWT signing and parsing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.