GetAllData returns all the data from the in-memory store This is used for testing purposes only
()
| 112 | // GetAllData returns all the data from the in-memory store |
| 113 | // This is used for testing purposes only |
| 114 | func (c *provider) GetAllData() (map[string]string, error) { |
| 115 | // Get all data from the session store and mfa session store |
| 116 | // and merge them into a single map |
| 117 | data := make(map[string]string) |
| 118 | for k, v := range c.sessionStore.GetAllData() { |
| 119 | data[k] = v |
| 120 | } |
| 121 | for k, v := range c.mfasessionStore.GetAllData() { |
| 122 | data[k] = v |
| 123 | } |
| 124 | return data, nil |
| 125 | } |
nothing calls this directly
no test coverage detected