1234567891011121314151617181920212223242526272829303132333435363738 |
- package http
- type OAuth2TokenResp struct {
- AccessToken string `json:"access_token"`
- ExpiresIn int64 `json:"expires_in"`
- RefreshToken string `json:"refresh_token"`
- TokenType string `json:"token_type"`
- Scope string `json:"scope"`
- }
- type OAuth2AddUserReq struct {
- Data string `json:"data"`
- EventType string `json:"eventType"`
- }
- type OAuth2AddUser struct {
- Id string `json:"id"`
- Username string `json:"username"`
- Name string `json:"name"`
- UserId string `json:"userId"`
- PassWord string `json:"password"`
- Disabled bool `json:"disabled"`
- Pasture string `json:"pasture"`
-
-
-
-
-
-
-
- }
|