Public entry points for strict-by-default SAML protocol flows.
Start with Getting Started for install, local proof, and your first IdP runbook. The two functions most host apps call are:
start_login/3— build and store a request intent, then redirect (or POST) the user to the IdP.consume_response/3— verify the SAML response on the ACS path and return a%Relyra.LoginResult{}or a typed%Relyra.Error{}.
Mount HTTP routes with Relyra.Phoenix.Router.saml_routes/2 (see
Relyra.Phoenix.Router). Configure connections via Relyra.ConnectionResolver
and the behaviour seams documented under Relyra.* in this reference.
Summary
Functions
Consumes an inbound SAML LogoutRequest or LogoutResponse payload.
Starts an SP-initiated Single Logout flow.
Functions
@spec consume_logout(map(), binary(), keyword()) :: {:ok, map()} | {:error, Relyra.Error.t()}
Consumes an inbound SAML LogoutRequest or LogoutResponse payload.
@spec start_login(map(), map(), keyword()) :: {:ok, map()} | {:error, Relyra.Error.t()}
@spec start_logout(map(), binary(), keyword()) :: {:ok, map()} | {:error, Relyra.Error.t()}
Starts an SP-initiated Single Logout flow.