mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-12-01 09:33:15 +00:00
try add oidc
This commit is contained in:
@@ -7,12 +7,15 @@ type Oauth struct {
|
||||
ClientSecret string `json:"client_secret"`
|
||||
RedirectUrl string `json:"redirect_url"`
|
||||
AutoRegister *bool `json:"auto_register"`
|
||||
Scopes string `json:"scopes"`
|
||||
Issuer string `json:"issuer"`
|
||||
TimeModel
|
||||
}
|
||||
|
||||
const (
|
||||
OauthTypeGithub = "github"
|
||||
OauthTypeGoogle = "google"
|
||||
OauthTypeOidc = "oidc"
|
||||
OauthTypeWebauth = "webauth"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user