MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / GetAllData

Method GetAllData

internal/memory_store/in_memory/store.go:114–125  ·  view source on GitHub ↗

GetAllData returns all the data from the in-memory store This is used for testing purposes only

()

Source from the content-addressed store, hash-verified

112// GetAllData returns all the data from the in-memory store
113// This is used for testing purposes only
114func (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}

Callers

nothing calls this directly

Calls 1

GetAllDataMethod · 0.65

Tested by

no test coverage detected