MCPcopy Index your code
hub / github.com/mudler/LocalAI / WithAuthAPIKeyHMACSecret

Function WithAuthAPIKeyHMACSecret

core/config/application_config.go:1009–1013  ·  view source on GitHub ↗
(secret string)

Source from the content-addressed store, hash-verified

1007}
1008
1009func WithAuthAPIKeyHMACSecret(secret string) AppOption {
1010 return func(o *ApplicationConfig) {
1011 o.Auth.APIKeyHMACSecret = secret
1012 }
1013}
1014
1015func WithAuthDefaultAPIKeyExpiry(expiry string) AppOption {
1016 return func(o *ApplicationConfig) {

Callers 3

RunMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected