mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-06-05 22:44:17 +00:00
Add vendored dependencies.
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
package traefikoidc
|
||||
|
||||
import "os"
|
||||
|
||||
// constants
|
||||
const (
|
||||
cookie_name = "_raczylo_oidc"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
ProviderURL string `json:"providerURL"`
|
||||
CallbackURL string `json:"callbackURL"`
|
||||
@@ -11,5 +18,6 @@ type Config struct {
|
||||
}
|
||||
|
||||
func CreateConfig() *Config {
|
||||
infoLogger.SetOutput(os.Stdout)
|
||||
return &Config{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user