Relyra (relyra v1.4.0)

Copy Markdown View Source

Public entry points for strict-by-default SAML protocol flows.

Summary

Functions

consume_logout(connection, raw_payload, opts \\ [])

@spec consume_logout(map(), binary(), keyword()) ::
  {:ok, map()} | {:error, Relyra.Error.t()}

Consumes an inbound SAML LogoutRequest or LogoutResponse payload.

consume_response(response_payload, request_intent_or_opts, opts \\ [])

@spec consume_response(binary(), map() | keyword(), keyword()) ::
  {:ok, map()} | {:error, Relyra.Error.t()}

start_login(connection, relay_context, opts \\ [])

@spec start_login(map(), map(), keyword()) ::
  {:ok, map()} | {:error, Relyra.Error.t()}

start_logout(connection, session_index, opts \\ [])

@spec start_logout(map(), binary(), keyword()) ::
  {:ok, map()} | {:error, Relyra.Error.t()}

Starts an SP-initiated Single Logout flow.