mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-22 00:53:49 +08:00
Add IdProvider interface.
This commit is contained in:
@ -14,18 +14,6 @@
|
||||
|
||||
package controllers
|
||||
|
||||
type userEmailFromGithub struct {
|
||||
Email string `json:"email"`
|
||||
Primary bool `json:"primary"`
|
||||
Verified bool `json:"verified"`
|
||||
Visibility string `json:"visibility"`
|
||||
}
|
||||
|
||||
type userInfoFromGithub struct {
|
||||
Login string `json:"login"`
|
||||
AvatarUrl string `json:"avatar_url"`
|
||||
}
|
||||
|
||||
type authResponse struct {
|
||||
IsAuthenticated bool `json:"isAuthenticated"`
|
||||
IsSignedUp bool `json:"isSignedUp"`
|
||||
|
Reference in New Issue
Block a user