mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-11-29 08:33:21 +00:00
20 lines
597 B
Go
20 lines
597 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"`
|
|
} |