ExScim.Storage.EtsStorage (ex_scim v0.2.0)

Copy Markdown View Source

ETS-based in-memory storage implementation.

This is the default storage backend, intended for development and testing. Data is stored in named ETS tables and does not persist across restarts.

Use clear_all/0 to reset all stored data (useful in test setup).

For production use, see ExScimEcto.StorageAdapter which provides persistent storage backed by Ecto.

Summary

Functions

Returns a specification to start this module under a supervisor.

Removes all users and groups from ETS storage. Useful for testing.

Callback implementation for GenServer.init/1.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

clear_all()

Removes all users and groups from ETS storage. Useful for testing.

init(opts)

Callback implementation for GenServer.init/1.