mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 12:30:19 +08:00
Generate real access token.
This commit is contained in:
@ -33,9 +33,10 @@ type Application struct {
|
||||
Providers []string `xorm:"varchar(100)" json:"providers"`
|
||||
ProviderObjs []*Provider `xorm:"-" json:"providerObjs"`
|
||||
|
||||
ClientId string `xorm:"varchar(100)" json:"clientId"`
|
||||
ClientSecret string `xorm:"varchar(100)" json:"clientSecret"`
|
||||
RedirectUrls []string `xorm:"varchar(1000)" json:"redirectUrls"`
|
||||
ClientId string `xorm:"varchar(100)" json:"clientId"`
|
||||
ClientSecret string `xorm:"varchar(100)" json:"clientSecret"`
|
||||
RedirectUrls []string `xorm:"varchar(1000)" json:"redirectUrls"`
|
||||
ExpireInHours int `json:"expireInHours"`
|
||||
}
|
||||
|
||||
func GetApplications(owner string) []*Application {
|
||||
|
Reference in New Issue
Block a user