mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 12:30:19 +08:00
Add provider table.
This commit is contained in:
@ -19,6 +19,13 @@ import (
|
||||
"xorm.io/core"
|
||||
)
|
||||
|
||||
type ProviderItem struct {
|
||||
Name string `json:"name"`
|
||||
CanSignUp bool `json:"canSignUp"`
|
||||
CanSignIn bool `json:"canSignIn"`
|
||||
CanUnbind bool `json:"canUnbind"`
|
||||
}
|
||||
|
||||
type Provider struct {
|
||||
Owner string `xorm:"varchar(100) notnull pk" json:"owner"`
|
||||
Name string `xorm:"varchar(100) notnull pk" json:"name"`
|
||||
|
Reference in New Issue
Block a user