auth/config.go

15 lines
330 B
Go
Raw Normal View History

2024-09-26 09:06:17 +00:00
package auth
2024-09-13 09:05:36 +00:00
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"`
}