ExSaml.State.Cache (ex_saml v1.0.2)

Copy Markdown View Source

Stores SAML assertions using a Nebulex cache backend.

Suitable for distributed environments. Assertions have a default TTL of 5 minutes.

Configuration

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

config :ex_saml, cache: MyApp.Cache

Summary

Functions

Lists all cached assertions as {key, value} tuples.

Returns the remaining TTL for the given assertion key.

Functions

list_assertions()

Lists all cached assertions as {key, value} tuples.

ttl_assertion(key)

Returns the remaining TTL for the given assertion key.