# `ExSaml.State`
[🔗](https://github.com/docJerem/ex_saml/blob/main/lib/ex_saml/state.ex#L1)

Interface for SAML assertion storage.

Delegates to the configured store provider (`ExSaml.State.ETS`, `ExSaml.State.Session`,
or `ExSaml.State.Cache`). Configure the store in your `config.exs`:

    config :ex_saml, ExSaml.State,
      store: ExSaml.State.ETS

To implement a custom store, see `ExSaml.State.Store`.

# `delete_assertion`

Removes the SAML assertion for the given key from the store.

# `gen_id`

Generates a cryptographically random URL-safe identifier.

# `get_assertion`

Retrieves the SAML assertion for the given key from the store.

# `init`

Initializes the state store with default options.

# `init`

Initializes the state store with the given options.

# `put_assertion`

Stores a SAML assertion with the given key.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
