ExSwan.Plug.Config (exswan_plug v0.1.0)

Copy Markdown View Source

Startup validation for relying-party configuration.

Add this module to an application's supervision tree so an unsafe RP ID or origin prevents the endpoint from starting.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts a validator process after checking the RP ID and origin.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)

@spec start_link(keyword()) :: GenServer.on_start()

Starts a validator process after checking the RP ID and origin.