Files
mayfly-go/server/internal/sys/api/vo/auth.go
2023-07-21 22:01:53 +08:00

17 lines
460 B
Go

package vo
type OAuth2VO struct {
ClientID string `json:"clientID"`
ClientSecret string `json:"clientSecret"`
AuthorizationURL string `json:"authorizationURL"`
AccessTokenURL string `json:"accessTokenURL"`
ResourceURL string `json:"resourceURL"`
RedirectURL string `json:"redirectURL"`
UserIdentifier string `json:"userIdentifier"`
Scopes string `json:"scopes"`
}
type AuthVO struct {
*OAuth2VO `json:"oauth2"`
}