# `Relyra.TestSupport`
[🔗](https://github.com/szTheory/relyra/blob/v1.1.0/lib/relyra/test_support.ex#L1)

Test helpers for adapter and controller tests.

The helpers are designed to compose with Phoenix.ConnTest and the
library's own resolver / user-mapper seams. They intentionally keep
the call surface small so adopters can write a full SSO round-trip
test without learning internal plumbing.

# `build_saml_response`

# `fake_idp_metadata`

# `post_saml_response`

```elixir
@spec post_saml_response(Plug.Conn.t(), String.t(), keyword()) :: Plug.Conn.t()
```

# `saml_login`

```elixir
@spec saml_login(Plug.Conn.t()) :: {:ok, term()} | {:error, atom()}
```

# `setup_saml_connection`

```elixir
@spec setup_saml_connection(
  Plug.Conn.t(),
  keyword()
) :: Plug.Conn.t()
```

# `sign_saml_response`

---

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