mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-05-10 14:28:12 +00:00
refactor: rework logging and cancellation in services
This commit is contained in:
@@ -13,7 +13,6 @@ type RuntimeConfig struct {
|
||||
OAuthWhitelist []string
|
||||
ConfiguredProviders []Provider
|
||||
OIDCClients []OIDCClientConfig
|
||||
LabelProvider LabelProvider
|
||||
}
|
||||
|
||||
type Provider struct {
|
||||
@@ -21,10 +20,3 @@ type Provider struct {
|
||||
ID string `json:"id"`
|
||||
OAuth bool `json:"oauth"`
|
||||
}
|
||||
|
||||
type LabelProvider int
|
||||
|
||||
const (
|
||||
LabelProviderDocker LabelProvider = iota
|
||||
LabelProviderKubernetes
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user