Xirsys.XTurn.Auth.Supervisor (xturn v2.0.0)

Copy Markdown View Source

OTP supervisor for TURN authentication services.

What problem this solves

Nonce tracking and credential storage run in dedicated processes that must restart independently without taking down the relay. This supervisor boots Auth.NonceStore and Auth.Client under a :one_for_one tree.

Internal: started from the application supervision tree, not configured directly by operators.

RFCs

  • RFC 8489 (long-term credentials, NONCE, MESSAGE-INTEGRITY)
  • RFC 8656 (TURN authentication requirements, stale nonce handling)

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the auth supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])

Starts the auth supervisor.