12 lines
280 B
Go
12 lines
280 B
Go
package oauth
|
|
|
|
import (
|
|
"git.haelnorr.com/h/golib/ezconf"
|
|
)
|
|
|
|
// NewEZConfIntegration creates a new EZConf integration
|
|
func NewEZConfIntegration() *ezconf.Integration {
|
|
return ezconf.NewIntegration("oauth", "OAuth", &Config{},
|
|
func() (any, error) { return ConfigFromEnv() })
|
|
}
|