auth/config.go
2024-09-26 11:06:17 +02:00

14 lines
330 B
Go

package auth
type ClientConfig struct {
ClientID string
ClientSecret string
RedirectURL string
Scope []string
}
type AuthConfig struct {
TokenEndpoint string `json:"token_endpoint"`
UserinfoEndpoint string `json:"userinfo_endpoint"`
AuthorizationEndpoint string `json:"authorization_endpoint"`
}