14 lines
330 B
Go
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"`
|
|
}
|