package middleware // SSOResponse represents the response structure from SSO service type SSOResponse struct { Code string `json:"code"` Message string `json:"message"` Data UserInfo `json:"data"` } // UserInfo represents the user information in SSO response type UserInfo struct { UserID string `json:"userID"` UserName string `json:"userName"` Email string `json:"email"` Mobile string `json:"mobile"` AccountID string `json:"accountID"` IsEnableConsole int `json:"isEnableConsole"` IsEnableProgram int `json:"isEnableProgram"` IsRoot int `json:"isRoot"` Type string `json:"type"` OtherInfos interface{} `json:"otherInfos"` }