View Source Samly.State.ETS (samly v1.4.0)

Stores SAML assertion in ETS.

This provider creates an ETS table (during initialization) to keep the authenticated SAML assertions from IdP. The ETS table name in the configuration is optional.


  • :table - ETS table name (optional)
           Value must be an atom

Do not rely on how the state is stored in the ETS table.

Configuration Example

config :samly, Samly.State,
  opts: [table: :my_ets_table]

This can be used as an example when creating custom stores based on redis, memcached, database etc.