Files
neko/server/internal/member/oauth/config.go
T
Miroslav Šedivý 7573d43c95 consistency across member provider configs.
in the furure we should refactor all configs to be part of the providers with init and set functions.
2026-09-24 00:16:14 +02:00

27 lines
568 B
Go

package oauth
import (
"github.com/m1k1o/neko/server/pkg/types"
)
type Config struct {
Enabled bool
AutoRedirect bool
Name string
AdminEmails []string
ClientID string
ClientSecret string
IssuerURL string
AuthorizationURL string
TokenURL string
UserInfoURL string
RedirectURL string
Scopes []string
SubjectField string
UsernameField string
AvatarField string
SuccessRedirect string
AdminProfile types.MemberProfile
UserProfile types.MemberProfile
}