pub fn create_auth_config() -> AuthConfigExpand description
Constructs the authentication configuration from environment variables.
- Loads the JWT secret and token expiry hours from environment variables.
- Panics if
JWT_SECRETis not set or ifTOKEN_EXPIRY_HOURSis invalid.
ยงReturns
Returns an AuthConfig struct with the loaded values.