mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-11-29 16:43:17 +00:00
27 lines
779 B
Go
27 lines
779 B
Go
package config
|
|
|
|
type GithubOauth struct {
|
|
ClientId string `mapstructure:"client-id"`
|
|
ClientSecret string `mapstructure:"client-secret"`
|
|
RedirectUrl string `mapstructure:"redirect-url"`
|
|
}
|
|
|
|
type GoogleOauth struct {
|
|
ClientId string `mapstructure:"client-id"`
|
|
ClientSecret string `mapstructure:"client-secret"`
|
|
RedirectUrl string `mapstructure:"redirect-url"`
|
|
}
|
|
|
|
type OidcOauth struct {
|
|
Issuer string `mapstructure:"issuer"`
|
|
ClientId string `mapstructure:"client-id"`
|
|
ClientSecret string `mapstructure:"client-secret"`
|
|
RedirectUrl string `mapstructure:"redirect-url"`
|
|
}
|
|
|
|
type LinuxdoOauth struct {
|
|
ClientId string `mapstructure:"client-id"`
|
|
ClientSecret string `mapstructure:"client-secret"`
|
|
RedirectUrl string `mapstructure:"redirect-url"`
|
|
}
|