newUserInteractiveResponse will return a struct to be sent back to the client during registration.
(
sessionID string,
fs []authtypes.Flow,
params map[string]interface{},
)
| 250 | // newUserInteractiveResponse will return a struct to be sent back to the client |
| 251 | // during registration. |
| 252 | func newUserInteractiveResponse( |
| 253 | sessionID string, |
| 254 | fs []authtypes.Flow, |
| 255 | params map[string]interface{}, |
| 256 | ) userInteractiveResponse { |
| 257 | return userInteractiveResponse{ |
| 258 | fs, sessions.getCompletedStages(sessionID), params, sessionID, |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | // http://matrix.org/speculator/spec/HEAD/client_server/unstable.html#post-matrix-client-unstable-register |
| 263 | type registerResponse struct { |
no test coverage detected