# `ExSaml.Core.SpConfig`
[🔗](https://github.com/docJerem/ex_saml/blob/main/lib/ex_saml/core/sp_config.ex#L1)

Represents a SAML Service Provider configuration.

Ported from the Erlang `esaml_sp` record. Holds all configuration
needed for SP operations including keys, certificates, and signing options.

# `t`

```elixir
@type t() :: %ExSaml.Core.SpConfig{
  cert_chain: [binary()],
  certificate: binary() | nil,
  consume_uri: String.t(),
  encrypt_mandatory: boolean(),
  entity_id: String.t() | nil,
  idp_signs_assertions: boolean(),
  idp_signs_envelopes: boolean(),
  idp_signs_logout_requests: boolean(),
  key: term() | nil,
  logout_uri: String.t() | nil,
  metadata_uri: String.t(),
  org: ExSaml.Core.Org.t(),
  sp_sign_metadata: boolean(),
  sp_sign_requests: boolean(),
  tech: ExSaml.Core.Contact.t(),
  trusted_fingerprints: [String.t() | binary()]
}
```

---

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