mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-29 05:05:42 +00:00
refactor: finalize flags decoder
This commit is contained in:
@@ -74,6 +74,7 @@ type OAuthServiceConfig struct {
|
||||
TokenURL string
|
||||
UserinfoURL string
|
||||
InsecureSkipVerify bool
|
||||
Name string
|
||||
}
|
||||
|
||||
// User/session related stuff
|
||||
@@ -178,9 +179,5 @@ type AppPath struct {
|
||||
// Flags
|
||||
|
||||
type Providers struct {
|
||||
Providers map[string]ProviderConfig
|
||||
}
|
||||
|
||||
type ProviderConfig struct {
|
||||
Config OAuthServiceConfig
|
||||
Providers map[string]OAuthServiceConfig
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user