GenerateTokenResponse is the response from POST /api/auth/generate-token.
| 156 | |
| 157 | // GenerateTokenResponse is the response from POST /api/auth/generate-token. |
| 158 | type GenerateTokenResponse struct { |
| 159 | AccessToken string `json:"access_token"` |
| 160 | ExchangeCode string `json:"exchange_code"` |
| 161 | } |
| 162 | |
| 163 | func (g *GenerateTokenResponse) UnmarshalJSON(data []byte) error { |
| 164 | var raw struct { |
nothing calls this directly
no outgoing calls
no test coverage detected