# GET /v2/saml

SAML-Provider auflisten

Liest die im gewählten Konto verfügbaren SAML-Provider. Feldauswahl, Filter, Sortierung und Pagination folgen dem Ressourcenvertrag. Konto-Kontext und aktuelle Berechtigungen werden geprüft.

- Operation-ID: get_v2_saml
- Dokumentation: /docs/api/v2/operations/get-v2-saml-ffd41d79e539/
- OpenAPI-Version: 3.2.1
- Vollständige Spezifikation: /docs/api/v2/openapi.json
- Dokumentationsstatus: reviewed
- Ändert Zustand: nein, gemäss Annotation
- Für Automation freigegeben: nein

## Server

Serverwerte stammen unverändert aus der Datei. Eine lokale Entwicklungsadresse ist keine bestätigte Produktionsadresse. `API_ORIGIN` muss auf die passende Instanz gesetzt werden.

```json
[
  {
    "url": "https://app2.edoobox.com",
    "description": "edoobox API"
  }
]
```

## Authentifizierung

Eine der folgenden Alternativen genügt (ODER). Innerhalb einer Alternative müssen alle Verfahren gemeinsam erfüllt sein (UND).

1. **bearerAuth** (HTTP bearer) — Existing edoobox v2 access token. Never substitute API key/secret headers. **UND** **accountContext** (header: edid) — Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account.
2. **sessionCookie** (cookie: _edlogin) — Existing browser login session, with the same permission checks as Bearer authentication. **UND** **accountContext** (header: edid) — Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account.

### Wirksame Security Requirements und vollständige Verfahren

```json
{
  "security": [
    {
      "bearerAuth": [],
      "accountContext": []
    },
    {
      "sessionCookie": [],
      "accountContext": []
    }
  ],
  "securitySchemes": {
    "bearerAuth": {
      "type": "http",
      "scheme": "bearer",
      "bearerFormat": "JWT",
      "description": "Existing edoobox v2 access token. Never substitute API key/secret headers."
    },
    "accountContext": {
      "type": "apiKey",
      "in": "header",
      "name": "edid",
      "description": "Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account."
    },
    "sessionCookie": {
      "type": "apiKey",
      "in": "cookie",
      "name": "_edlogin",
      "description": "Existing browser login session, with the same permission checks as Bearer authentication."
    }
  }
}
```

## Parameter

| Name | Ort | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| fields | query | nein | JSON-encoded fields value consumed by RequestAPIData / API_DATA; specific actions may ignore it. |
| filter | query | nein | JSON-encoded filter value consumed by RequestAPIData / API_DATA; specific actions may ignore it. |
| limit | query | nein | JSON-encoded limit value consumed by RequestAPIData / API_DATA; specific actions may ignore it. |
| order | query | nein | JSON-encoded order value consumed by RequestAPIData / API_DATA; specific actions may ignore it. |
| response_type | query | nein | Controls generic collection representation; default is an ID-keyed object. |
| language | header | nein | Account language code, where the resource supports setLanguage(). |

### Vollständige wirksame Parameterdefinitionen

```json
[
  {
    "name": "fields",
    "in": "query",
    "required": false,
    "description": "JSON-encoded fields value consumed by RequestAPIData / API_DATA; specific actions may ignore it.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "examples": [
            [
              "id"
            ]
          ]
        },
        "example": [
          "id"
        ]
      }
    }
  },
  {
    "name": "filter",
    "in": "query",
    "required": false,
    "description": "JSON-encoded filter value consumed by RequestAPIData / API_DATA; specific actions may ignore it.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "property": {
                "type": "string"
              },
              "expression": {
                "type": "string"
              },
              "value": {}
            },
            "additionalProperties": true
          },
          "examples": [
            [
              {
                "property": "id",
                "expression": "=",
                "value": "saml_012345abcdef_123456"
              }
            ]
          ]
        },
        "example": [
          {
            "property": "id",
            "expression": "=",
            "value": "saml_012345abcdef_123456"
          }
        ]
      }
    }
  },
  {
    "name": "limit",
    "in": "query",
    "required": false,
    "description": "JSON-encoded limit value consumed by RequestAPIData / API_DATA; specific actions may ignore it.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "start": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            },
            "reply": {
              "type": "integer",
              "maximum": 2000,
              "default": 100
            }
          },
          "examples": [
            {
              "start": 0,
              "reply": 25
            }
          ]
        },
        "example": {
          "start": 0,
          "reply": 25
        }
      }
    }
  },
  {
    "name": "order",
    "in": "query",
    "required": false,
    "description": "JSON-encoded order value consumed by RequestAPIData / API_DATA; specific actions may ignore it.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "property": {
                "type": "string"
              },
              "value": {
                "type": "string",
                "enum": [
                  "ASC",
                  "DESC"
                ]
              }
            },
            "additionalProperties": true
          },
          "examples": [
            [
              {
                "property": "id",
                "value": "ASC"
              }
            ]
          ]
        },
        "example": [
          {
            "property": "id",
            "value": "ASC"
          }
        ]
      }
    }
  },
  {
    "name": "response_type",
    "in": "query",
    "required": false,
    "schema": {
      "type": "string",
      "enum": [
        "array",
        "object"
      ],
      "examples": [
        "array"
      ]
    },
    "description": "Controls generic collection representation; default is an ID-keyed object."
  },
  {
    "name": "language",
    "in": "header",
    "required": false,
    "description": "Account language code, where the resource supports setLanguage().",
    "schema": {
      "type": "string",
      "examples": [
        "de"
      ]
    }
  }
]
```

## Anfrage

Kein Request Body deklariert.

## Antworten

HTTP-Status und Antwortinhalt gemeinsam auswerten. Die folgenden Beschreibungen und Schemata sind die Angaben der Quelldatei.

```json
{
  "200": {
    "description": "Response; inspect error and success as legacy failures may also use HTTP 200.",
    "content": {
      "application/json": {
        "example": {
          "success": true,
          "error": false,
          "data": {
            "saml_012345abcdef_123456": {
              "id": "saml_012345abcdef_123456"
            }
          },
          "limit": {
            "start": 0,
            "reply": 100,
            "total": 1
          }
        },
        "schema": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean"
            },
            "error": {
              "type": [
                "boolean",
                "string"
              ]
            },
            "error_code": {
              "type": "string"
            },
            "data": {
              "description": "Generic collection (ID-keyed object by default, array for response_type=array) or resource object. Structure fields are partial and action-dependent.",
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                      "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                      "examples": [
                        "saml_012345abcdef_123456"
                      ]
                    },
                    "status": {
                      "type": "boolean",
                      "x-edoobox-contractSource": [
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 40,
                          "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 224,
                          "reason": "Create forbids activating before setup and forces initial disabled status.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 1274,
                          "reason": "Actual activation hook: strict false short circuit, settings/URL and required mapping checks.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 1399,
                          "reason": "Provider config depends on stored certificate/mapping and may refresh metadata XML in real runtime.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 1357,
                          "reason": "Metadata refresh delegates parsing and may fetch XML during real runtime; not invoked by this source review.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                          "line": 85,
                          "reason": "Login URL wrapper delegates to OneLogin auth login with stay=true.",
                          "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2925,
                          "reason": "Required mapping keys are explicit.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 349,
                          "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                          "line": 246,
                          "reason": "Followed injectSettings/getSettings: build SP/IdP settings and instantiate OneLogin Auth, with signing and stored certificate settings.",
                          "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                        },
                        {
                          "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                          "line": 115,
                          "reason": "Followed service-provider settings construction used for activation.",
                          "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                        },
                        {
                          "file": "vendor/onelogin/php-saml/src/Saml2/Auth.php",
                          "line": 174,
                          "reason": "Installed OneLogin Auth delegates validation to its Settings constructor.",
                          "sha256": "d4a3737528426ace71044fbc90e1a06273a76149c55ee1410dc21ae225ed4a8a"
                        },
                        {
                          "file": "vendor/onelogin/php-saml/src/Saml2/Auth.php",
                          "line": 542,
                          "reason": "Installed OneLogin login builds the SAML request and a redirect URL; this is not a completed external provider handshake.",
                          "sha256": "d4a3737528426ace71044fbc90e1a06273a76149c55ee1410dc21ae225ed4a8a"
                        },
                        {
                          "file": "docs/openapi/reviews/identity-fields.json",
                          "line": 1,
                          "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                          "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                        }
                      ]
                    },
                    "permission": {
                      "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                      "x-edoobox-sourceLine": 50,
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                          "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                          "examples": [
                            "permission_012345abcdef_123456"
                          ]
                        },
                        {
                          "const": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "provider_name": {
                      "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                      "x-edoobox-sourceLine": 63,
                      "type": "string"
                    },
                    "remote_xml_url": {
                      "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                      "x-edoobox-sourceLine": 76,
                      "type": "string"
                    },
                    "remote_xml_content": {
                      "type": "string",
                      "description": "Metadata XML content stored by Samlfunc; setter passes it through verbatim.",
                      "x-edoobox-contractSource": [
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 90,
                          "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 236,
                          "reason": "Creation reads remote_xml_file or remote_xml_url, validates/parses XML and assigns escaped metadata content.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 349,
                          "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                          "line": 232,
                          "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                          "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                        },
                        {
                          "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                          "line": 115,
                          "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                          "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                        },
                        {
                          "file": "docs/openapi/reviews/identity-fields.json",
                          "line": 1,
                          "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                          "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                        }
                      ]
                    },
                    "login_service_url": {
                      "type": "string",
                      "readOnly": true,
                      "description": "Decoded metadata service URL text; logout may be empty.",
                      "x-edoobox-contractSource": [
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 103,
                          "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 297,
                          "reason": "Before-insert derives SSO/SLO URLs; missing valid SSO rejects provider, optional SLO can remain false.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 349,
                          "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                          "line": 232,
                          "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                          "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                        },
                        {
                          "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                          "line": 115,
                          "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                          "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                        },
                        {
                          "file": "docs/openapi/reviews/identity-fields.json",
                          "line": 1,
                          "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                          "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                        }
                      ]
                    },
                    "logout_service_url": {
                      "type": "string",
                      "readOnly": true,
                      "description": "Decoded metadata service URL text; logout may be empty.",
                      "x-edoobox-contractSource": [
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 113,
                          "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 297,
                          "reason": "Before-insert derives SSO/SLO URLs; missing valid SSO rejects provider, optional SLO can remain false.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 349,
                          "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                          "line": 232,
                          "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                          "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                        },
                        {
                          "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                          "line": 115,
                          "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                          "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                        },
                        {
                          "file": "docs/openapi/reviews/identity-fields.json",
                          "line": 1,
                          "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                          "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                        }
                      ]
                    },
                    "field_maping": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "attr": {
                            "type": "string"
                          },
                          "field": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "const": false
                              }
                            ]
                          },
                          "only_user": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "name",
                          "description",
                          "attr",
                          "field",
                          "only_user"
                        ],
                        "additionalProperties": true
                      },
                      "description": "Normal output is the fields array decoded from stored mapping; manually malformed legacy JSON is not repaired by the setter.",
                      "x-edoobox-contractSource": [
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 123,
                          "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2861,
                          "reason": "Actual PUT mapping loop, truthiness requirement, duplicate detection and full replacement.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 480,
                          "reason": "Followed target normalizer and additional-user-field classifier.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2925,
                          "reason": "Followed base required mapping keys.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 319,
                          "reason": "Create mapping starts with idp metadata and empty field list.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 389,
                          "reason": "Create mapping is derived from offered/default claims and stored, overwriting submitted batch value.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 1399,
                          "reason": "Followed getProviderData: existing provider/certificate lookup and mapping metadata; refresh may load remote XML in actual runtime, never during this review.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 349,
                          "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "docs/openapi/reviews/identity-fields.json",
                          "line": 1,
                          "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                          "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                        }
                      ]
                    },
                    "allow_migration_user": {
                      "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                      "x-edoobox-sourceLine": 135,
                      "type": "boolean"
                    },
                    "allow_permission_acl": {
                      "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                      "x-edoobox-sourceLine": 144,
                      "type": "boolean"
                    },
                    "login_scope": {
                      "type": "string",
                      "enum": [
                        "both",
                        "admin",
                        "user"
                      ],
                      "x-edoobox-contractSource": [
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 153,
                          "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 22,
                          "reason": "Followed validateProvidedLoginScope and provider normalizer.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 197,
                          "reason": "Before-insert sets scope and applies dependent permission requirement.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2840,
                          "reason": "Actual PUT hook delegates to scope validator.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                          "line": 42,
                          "reason": "Allowed normalized scopes and default both; output normalizer.",
                          "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                        },
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 349,
                          "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "docs/openapi/reviews/identity-fields.json",
                          "line": 1,
                          "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                          "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                        }
                      ]
                    },
                    "name_id_format": {
                      "type": "string",
                      "enum": [
                        "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
                        "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
                        "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
                      ],
                      "x-edoobox-contractSource": [
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 172,
                          "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2770,
                          "reason": "PUT checks exact NameID allowed values before aP storage.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                          "line": 14,
                          "reason": "Strict allowed formats and separate response fallback.",
                          "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                        },
                        {
                          "file": "vendor/onelogin/php-saml/src/Saml2/Constants.php",
                          "line": 26,
                          "reason": "Followed installed dependency constants to actual standard URI strings.",
                          "sha256": "a7f6ab35d1209e34d499662ae1f8f5bedf0ae6f08325388e8b186ea85f6c236d"
                        },
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 349,
                          "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "docs/openapi/reviews/identity-fields.json",
                          "line": 1,
                          "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                          "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                        }
                      ]
                    },
                    "auth_request_signed": {
                      "type": "boolean",
                      "x-edoobox-contractSource": [
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 190,
                          "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2801,
                          "reason": "Actual flag hook clears provider cache and compares edisset value strictly with true.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 349,
                          "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "docs/openapi/reviews/identity-fields.json",
                          "line": 1,
                          "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                          "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                        }
                      ]
                    },
                    "disable_third_party_cookie": {
                      "type": "boolean",
                      "x-edoobox-contractSource": [
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 200,
                          "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2810,
                          "reason": "Actual flag hook clears provider cache and compares edisset value strictly with true.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 349,
                          "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "docs/openapi/reviews/identity-fields.json",
                          "line": 1,
                          "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                          "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                        }
                      ]
                    },
                    "regenerate_certificate": {
                      "const": false,
                      "description": "Structure set returns false; select=false. This is an action command, not persisted public certificate material.",
                      "x-edoobox-contractSource": [
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 210,
                          "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2819,
                          "reason": "Strict command allowlist and generation/storage delegation.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 1087,
                          "reason": "Followed certificate payload generation and replace-active storage behavior.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 349,
                          "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 1077,
                          "reason": "Followed certificate host resolution: base URL host is required; a bad host throws RuntimeException.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "docs/openapi/reviews/identity-fields.json",
                          "line": 1,
                          "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                          "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                        }
                      ]
                    },
                    "enforce_offer_tags": {
                      "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                      "x-edoobox-sourceLine": 222,
                      "type": "boolean"
                    },
                    "offer_tags_additive": {
                      "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                      "x-edoobox-sourceLine": 231,
                      "type": "boolean"
                    },
                    "tags": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "tag": {
                            "type": "string",
                            "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                            "description": "Opaque v2 ID returned for a record in the selected account."
                          },
                          "type": {
                            "const": "normal"
                          }
                        },
                        "additionalProperties": true,
                        "required": [
                          "tag",
                          "type"
                        ]
                      },
                      "x-edoobox-contractSource": [
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2610,
                          "reason": "Array or null accepted; each item must contain a public tag ID.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2630,
                          "reason": "Missing type defaults to normal; supplied type is lowercased before validation.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 256,
                          "reason": "Response is an array of {tag,type:normal}.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2686,
                          "lineEnd": 2697,
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8",
                          "reason": "The final provider tag set, including retained tags on filter-only updates, must exist in this account before any tag/filter persistence."
                        }
                      ]
                    },
                    "offer_filter_tags": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                        "description": "Opaque v2 ID returned for a record in the selected account."
                      },
                      "x-edoobox-contractSource": [
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2653,
                          "reason": "Array or null accepted; items decode as public tag IDs.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2678,
                          "reason": "Filter tags must be contained in provider tags.",
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                        },
                        {
                          "file": "application/models/v2/Saml.php",
                          "line": 298,
                          "reason": "Response is an array of public tag IDs.",
                          "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                        },
                        {
                          "file": "application/models/v2/Samlfunc.php",
                          "line": 2686,
                          "lineEnd": 2697,
                          "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8",
                          "reason": "The final provider tag set, including retained tags on filter-only updates, must exist in this account before any tag/filter persistence."
                        }
                      ]
                    },
                    "date_valid": {
                      "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                      "x-edoobox-sourceLine": 317,
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "const": false
                        }
                      ]
                    },
                    "date_create": {
                      "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                      "x-edoobox-sourceLine": 327,
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "const": false
                        }
                      ]
                    }
                  },
                  "additionalProperties": true
                },
                {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                        "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                        "examples": [
                          "saml_012345abcdef_123456"
                        ]
                      },
                      "status": {
                        "type": "boolean",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 40,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 224,
                            "reason": "Create forbids activating before setup and forces initial disabled status.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1274,
                            "reason": "Actual activation hook: strict false short circuit, settings/URL and required mapping checks.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1399,
                            "reason": "Provider config depends on stored certificate/mapping and may refresh metadata XML in real runtime.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1357,
                            "reason": "Metadata refresh delegates parsing and may fetch XML during real runtime; not invoked by this source review.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 85,
                            "reason": "Login URL wrapper delegates to OneLogin auth login with stay=true.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2925,
                            "reason": "Required mapping keys are explicit.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 246,
                            "reason": "Followed injectSettings/getSettings: build SP/IdP settings and instantiate OneLogin Auth, with signing and stored certificate settings.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 115,
                            "reason": "Followed service-provider settings construction used for activation.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/Auth.php",
                            "line": 174,
                            "reason": "Installed OneLogin Auth delegates validation to its Settings constructor.",
                            "sha256": "d4a3737528426ace71044fbc90e1a06273a76149c55ee1410dc21ae225ed4a8a"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/Auth.php",
                            "line": 542,
                            "reason": "Installed OneLogin login builds the SAML request and a redirect URL; this is not a completed external provider handshake.",
                            "sha256": "d4a3737528426ace71044fbc90e1a06273a76149c55ee1410dc21ae225ed4a8a"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "permission": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 50,
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                            "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                            "examples": [
                              "permission_012345abcdef_123456"
                            ]
                          },
                          {
                            "const": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "provider_name": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 63,
                        "type": "string"
                      },
                      "remote_xml_url": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 76,
                        "type": "string"
                      },
                      "remote_xml_content": {
                        "type": "string",
                        "description": "Metadata XML content stored by Samlfunc; setter passes it through verbatim.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 90,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 236,
                            "reason": "Creation reads remote_xml_file or remote_xml_url, validates/parses XML and assigns escaped metadata content.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 232,
                            "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                            "line": 115,
                            "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                            "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "login_service_url": {
                        "type": "string",
                        "readOnly": true,
                        "description": "Decoded metadata service URL text; logout may be empty.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 103,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 297,
                            "reason": "Before-insert derives SSO/SLO URLs; missing valid SSO rejects provider, optional SLO can remain false.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 232,
                            "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                            "line": 115,
                            "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                            "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "logout_service_url": {
                        "type": "string",
                        "readOnly": true,
                        "description": "Decoded metadata service URL text; logout may be empty.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 113,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 297,
                            "reason": "Before-insert derives SSO/SLO URLs; missing valid SSO rejects provider, optional SLO can remain false.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 232,
                            "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                            "line": 115,
                            "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                            "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "field_maping": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "description": {
                              "type": "string"
                            },
                            "attr": {
                              "type": "string"
                            },
                            "field": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "const": false
                                }
                              ]
                            },
                            "only_user": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "name",
                            "description",
                            "attr",
                            "field",
                            "only_user"
                          ],
                          "additionalProperties": true
                        },
                        "description": "Normal output is the fields array decoded from stored mapping; manually malformed legacy JSON is not repaired by the setter.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 123,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2861,
                            "reason": "Actual PUT mapping loop, truthiness requirement, duplicate detection and full replacement.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 480,
                            "reason": "Followed target normalizer and additional-user-field classifier.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2925,
                            "reason": "Followed base required mapping keys.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 319,
                            "reason": "Create mapping starts with idp metadata and empty field list.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 389,
                            "reason": "Create mapping is derived from offered/default claims and stored, overwriting submitted batch value.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1399,
                            "reason": "Followed getProviderData: existing provider/certificate lookup and mapping metadata; refresh may load remote XML in actual runtime, never during this review.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "allow_migration_user": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 135,
                        "type": "boolean"
                      },
                      "allow_permission_acl": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 144,
                        "type": "boolean"
                      },
                      "login_scope": {
                        "type": "string",
                        "enum": [
                          "both",
                          "admin",
                          "user"
                        ],
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 153,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 22,
                            "reason": "Followed validateProvidedLoginScope and provider normalizer.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 197,
                            "reason": "Before-insert sets scope and applies dependent permission requirement.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2840,
                            "reason": "Actual PUT hook delegates to scope validator.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 42,
                            "reason": "Allowed normalized scopes and default both; output normalizer.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "name_id_format": {
                        "type": "string",
                        "enum": [
                          "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
                          "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
                          "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
                        ],
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 172,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2770,
                            "reason": "PUT checks exact NameID allowed values before aP storage.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 14,
                            "reason": "Strict allowed formats and separate response fallback.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/Constants.php",
                            "line": 26,
                            "reason": "Followed installed dependency constants to actual standard URI strings.",
                            "sha256": "a7f6ab35d1209e34d499662ae1f8f5bedf0ae6f08325388e8b186ea85f6c236d"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "auth_request_signed": {
                        "type": "boolean",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 190,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2801,
                            "reason": "Actual flag hook clears provider cache and compares edisset value strictly with true.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "disable_third_party_cookie": {
                        "type": "boolean",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 200,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2810,
                            "reason": "Actual flag hook clears provider cache and compares edisset value strictly with true.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "regenerate_certificate": {
                        "const": false,
                        "description": "Structure set returns false; select=false. This is an action command, not persisted public certificate material.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 210,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2819,
                            "reason": "Strict command allowlist and generation/storage delegation.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1087,
                            "reason": "Followed certificate payload generation and replace-active storage behavior.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1077,
                            "reason": "Followed certificate host resolution: base URL host is required; a bad host throws RuntimeException.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "enforce_offer_tags": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 222,
                        "type": "boolean"
                      },
                      "offer_tags_additive": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 231,
                        "type": "boolean"
                      },
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "tag": {
                              "type": "string",
                              "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                              "description": "Opaque v2 ID returned for a record in the selected account."
                            },
                            "type": {
                              "const": "normal"
                            }
                          },
                          "additionalProperties": true,
                          "required": [
                            "tag",
                            "type"
                          ]
                        },
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2610,
                            "reason": "Array or null accepted; each item must contain a public tag ID.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2630,
                            "reason": "Missing type defaults to normal; supplied type is lowercased before validation.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 256,
                            "reason": "Response is an array of {tag,type:normal}.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2686,
                            "lineEnd": 2697,
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8",
                            "reason": "The final provider tag set, including retained tags on filter-only updates, must exist in this account before any tag/filter persistence."
                          }
                        ]
                      },
                      "offer_filter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                          "description": "Opaque v2 ID returned for a record in the selected account."
                        },
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2653,
                            "reason": "Array or null accepted; items decode as public tag IDs.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2678,
                            "reason": "Filter tags must be contained in provider tags.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 298,
                            "reason": "Response is an array of public tag IDs.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2686,
                            "lineEnd": 2697,
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8",
                            "reason": "The final provider tag set, including retained tags on filter-only updates, must exist in this account before any tag/filter persistence."
                          }
                        ]
                      },
                      "date_valid": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 317,
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "const": false
                          }
                        ]
                      },
                      "date_create": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 327,
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "const": false
                          }
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                        "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                        "examples": [
                          "saml_012345abcdef_123456"
                        ]
                      },
                      "status": {
                        "type": "boolean",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 40,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 224,
                            "reason": "Create forbids activating before setup and forces initial disabled status.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1274,
                            "reason": "Actual activation hook: strict false short circuit, settings/URL and required mapping checks.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1399,
                            "reason": "Provider config depends on stored certificate/mapping and may refresh metadata XML in real runtime.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1357,
                            "reason": "Metadata refresh delegates parsing and may fetch XML during real runtime; not invoked by this source review.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 85,
                            "reason": "Login URL wrapper delegates to OneLogin auth login with stay=true.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2925,
                            "reason": "Required mapping keys are explicit.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 246,
                            "reason": "Followed injectSettings/getSettings: build SP/IdP settings and instantiate OneLogin Auth, with signing and stored certificate settings.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 115,
                            "reason": "Followed service-provider settings construction used for activation.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/Auth.php",
                            "line": 174,
                            "reason": "Installed OneLogin Auth delegates validation to its Settings constructor.",
                            "sha256": "d4a3737528426ace71044fbc90e1a06273a76149c55ee1410dc21ae225ed4a8a"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/Auth.php",
                            "line": 542,
                            "reason": "Installed OneLogin login builds the SAML request and a redirect URL; this is not a completed external provider handshake.",
                            "sha256": "d4a3737528426ace71044fbc90e1a06273a76149c55ee1410dc21ae225ed4a8a"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "permission": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 50,
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                            "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                            "examples": [
                              "permission_012345abcdef_123456"
                            ]
                          },
                          {
                            "const": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "provider_name": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 63,
                        "type": "string"
                      },
                      "remote_xml_url": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 76,
                        "type": "string"
                      },
                      "remote_xml_content": {
                        "type": "string",
                        "description": "Metadata XML content stored by Samlfunc; setter passes it through verbatim.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 90,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 236,
                            "reason": "Creation reads remote_xml_file or remote_xml_url, validates/parses XML and assigns escaped metadata content.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 232,
                            "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                            "line": 115,
                            "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                            "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "login_service_url": {
                        "type": "string",
                        "readOnly": true,
                        "description": "Decoded metadata service URL text; logout may be empty.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 103,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 297,
                            "reason": "Before-insert derives SSO/SLO URLs; missing valid SSO rejects provider, optional SLO can remain false.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 232,
                            "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                            "line": 115,
                            "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                            "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "logout_service_url": {
                        "type": "string",
                        "readOnly": true,
                        "description": "Decoded metadata service URL text; logout may be empty.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 113,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 297,
                            "reason": "Before-insert derives SSO/SLO URLs; missing valid SSO rejects provider, optional SLO can remain false.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 232,
                            "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                            "line": 115,
                            "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                            "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "field_maping": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "description": {
                              "type": "string"
                            },
                            "attr": {
                              "type": "string"
                            },
                            "field": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "const": false
                                }
                              ]
                            },
                            "only_user": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "name",
                            "description",
                            "attr",
                            "field",
                            "only_user"
                          ],
                          "additionalProperties": true
                        },
                        "description": "Normal output is the fields array decoded from stored mapping; manually malformed legacy JSON is not repaired by the setter.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 123,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2861,
                            "reason": "Actual PUT mapping loop, truthiness requirement, duplicate detection and full replacement.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 480,
                            "reason": "Followed target normalizer and additional-user-field classifier.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2925,
                            "reason": "Followed base required mapping keys.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 319,
                            "reason": "Create mapping starts with idp metadata and empty field list.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 389,
                            "reason": "Create mapping is derived from offered/default claims and stored, overwriting submitted batch value.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1399,
                            "reason": "Followed getProviderData: existing provider/certificate lookup and mapping metadata; refresh may load remote XML in actual runtime, never during this review.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "allow_migration_user": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 135,
                        "type": "boolean"
                      },
                      "allow_permission_acl": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 144,
                        "type": "boolean"
                      },
                      "login_scope": {
                        "type": "string",
                        "enum": [
                          "both",
                          "admin",
                          "user"
                        ],
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 153,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 22,
                            "reason": "Followed validateProvidedLoginScope and provider normalizer.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 197,
                            "reason": "Before-insert sets scope and applies dependent permission requirement.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2840,
                            "reason": "Actual PUT hook delegates to scope validator.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 42,
                            "reason": "Allowed normalized scopes and default both; output normalizer.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "name_id_format": {
                        "type": "string",
                        "enum": [
                          "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
                          "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
                          "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
                        ],
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 172,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2770,
                            "reason": "PUT checks exact NameID allowed values before aP storage.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 14,
                            "reason": "Strict allowed formats and separate response fallback.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/Constants.php",
                            "line": 26,
                            "reason": "Followed installed dependency constants to actual standard URI strings.",
                            "sha256": "a7f6ab35d1209e34d499662ae1f8f5bedf0ae6f08325388e8b186ea85f6c236d"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "auth_request_signed": {
                        "type": "boolean",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 190,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2801,
                            "reason": "Actual flag hook clears provider cache and compares edisset value strictly with true.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "disable_third_party_cookie": {
                        "type": "boolean",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 200,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2810,
                            "reason": "Actual flag hook clears provider cache and compares edisset value strictly with true.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "regenerate_certificate": {
                        "const": false,
                        "description": "Structure set returns false; select=false. This is an action command, not persisted public certificate material.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 210,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2819,
                            "reason": "Strict command allowlist and generation/storage delegation.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1087,
                            "reason": "Followed certificate payload generation and replace-active storage behavior.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1077,
                            "reason": "Followed certificate host resolution: base URL host is required; a bad host throws RuntimeException.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "enforce_offer_tags": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 222,
                        "type": "boolean"
                      },
                      "offer_tags_additive": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 231,
                        "type": "boolean"
                      },
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "tag": {
                              "type": "string",
                              "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                              "description": "Opaque v2 ID returned for a record in the selected account."
                            },
                            "type": {
                              "const": "normal"
                            }
                          },
                          "additionalProperties": true,
                          "required": [
                            "tag",
                            "type"
                          ]
                        },
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2610,
                            "reason": "Array or null accepted; each item must contain a public tag ID.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2630,
                            "reason": "Missing type defaults to normal; supplied type is lowercased before validation.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 256,
                            "reason": "Response is an array of {tag,type:normal}.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2686,
                            "lineEnd": 2697,
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8",
                            "reason": "The final provider tag set, including retained tags on filter-only updates, must exist in this account before any tag/filter persistence."
                          }
                        ]
                      },
                      "offer_filter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                          "description": "Opaque v2 ID returned for a record in the selected account."
                        },
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2653,
                            "reason": "Array or null accepted; items decode as public tag IDs.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2678,
                            "reason": "Filter tags must be contained in provider tags.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 298,
                            "reason": "Response is an array of public tag IDs.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2686,
                            "lineEnd": 2697,
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8",
                            "reason": "The final provider tag set, including retained tags on filter-only updates, must exist in this account before any tag/filter persistence."
                          }
                        ]
                      },
                      "date_valid": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 317,
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "const": false
                          }
                        ]
                      },
                      "date_create": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 327,
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "const": false
                          }
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                }
              ]
            },
            "type": {
              "type": "string"
            }
          },
          "additionalProperties": true
        }
      }
    }
  },
  "400": {
    "description": "Invalid request.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED40006"
        }
      }
    }
  },
  "401": {
    "description": "Missing/expired token, missing account context, account paused or model-specific authorization failure.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED40103"
        }
      }
    }
  },
  "402": {
    "description": "Missing/invalid action data or subscription/operation restriction.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED80100"
        }
      }
    }
  },
  "403": {
    "description": "Permission denied. Browser CORS rejection may have an empty body.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED40340"
        }
      }
    }
  },
  "404": {
    "description": "Unknown resource/action or unsupported method.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED80019"
        }
      }
    }
  },
  "422": {
    "description": "Validation failed.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED80020"
        }
      }
    }
  },
  "429": {
    "description": "Request/login rate limit exceeded. Honor Retry-After when supplied; legacy rate-limit paths may omit it. Retry only proven reads within a bounded deadline; a mutation is never automatically replayed after an ambiguous response.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED42902"
        }
      }
    },
    "headers": {
      "Retry-After": {
        "description": "Optional server delay in whole seconds or an HTTP date. Absence is not permission for an immediate retry.",
        "schema": {
          "type": "string",
          "examples": [
            "30"
          ]
        }
      }
    }
  },
  "502": {
    "description": "Server-side operation failed.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED50201"
        }
      }
    }
  }
}
```

## Aufrufbeispiele

Anpassen vor dem Ausführen. Platzhalter und veröffentlichte Beispiele sind synthetisch. Die Beispiele senden hier keine Anfrage; sie ergänzen keine unbekannten Pflichtfelder.

### cURL

```sh
# Zeigt Authentifizierungsalternative 1; alle Verfahren dieser Alternative sind gemeinsam erforderlich.
: "${API_ORIGIN:?API_ORIGIN setzen}"
: "${AUTH_BEARERAUTH:?AUTH_BEARERAUTH setzen}"
: "${AUTH_ACCOUNTCONTEXT:?AUTH_ACCOUNTCONTEXT setzen}"
curl --request 'GET' \
  --url "${API_ORIGIN%/}"'/v2/saml' \
  --header 'Authorization: Bearer '"${AUTH_BEARERAUTH}" \
  --header 'edid: '"${AUTH_ACCOUNTCONTEXT}"
```

### JavaScript (Node.js)

```javascript
// Zeigt Authentifizierungsalternative 1; alle Verfahren dieser Alternative sind gemeinsam erforderlich.
const required = (name) => {
  const value = process.env[name];
  if (!value) throw new Error(`Set ${name}`);
  return value;
};
let path = "/v2/saml";
const origin = required('API_ORIGIN');
const url = new URL((origin.endsWith('/') ? origin.slice(0, -1) : origin) + path);
const headers = {};
headers["Authorization"] = "Bearer " + required("AUTH_BEARERAUTH");
headers["edid"] = "" + required("AUTH_ACCOUNTCONTEXT");
const response = await fetch(url, { method: "GET", headers, redirect: 'manual' });
const text = await response.text();
console.log(response.status, text);
// HTTP-Status und dokumentierte error/success-Felder gemeinsam prüfen.
```

### Python

```python
# Zeigt Authentifizierungsalternative 1; alle Verfahren dieser Alternative sind gemeinsam erforderlich.
import os
import urllib.parse
import urllib.request
import urllib.error

path = "/v2/saml"
url = os.environ["API_ORIGIN"].rstrip("/") + path
headers = {}
headers["Authorization"] = "Bearer " + os.environ["AUTH_BEARERAUTH"]
headers["edid"] = "" + os.environ["AUTH_ACCOUNTCONTEXT"]

# Redirects nicht automatisch verfolgen.
class NoRedirect(urllib.request.HTTPRedirectHandler):
    def redirect_request(self, req, fp, code, msg, headers, newurl):
        return None
request = urllib.request.Request(url, headers=headers, method="GET")
try:
    response = urllib.request.build_opener(NoRedirect).open(request, timeout=30)
except urllib.error.HTTPError as error:
    response = error
print(response.status, response.read().decode("utf-8", errors="replace"))
# HTTP-Status und dokumentierte error/success-Felder gemeinsam prüfen.
```

## Vollständige Operationsdefinition und edoobox-Hinweise

Alle Originalfelder einschliesslich `x-edoobox-*`, requestBody und responses bleiben erhalten. Teilweise dokumentierte Schemata sind kein vollständiger Validierungsvertrag.

```json
{
  "operationId": "get_v2_saml",
  "summary": "SAML-Provider auflisten",
  "description": "Liest die im gewählten Konto verfügbaren SAML-Provider. Feldauswahl, Filter, Sortierung und Pagination folgen dem Ressourcenvertrag. Konto-Kontext und aktuelle Berechtigungen werden geprüft.",
  "tags": [
    "saml"
  ],
  "security": [
    {
      "bearerAuth": [],
      "accountContext": []
    },
    {
      "sessionCookie": [],
      "accountContext": []
    }
  ],
  "parameters": [
    {
      "name": "fields",
      "in": "query",
      "required": false,
      "description": "JSON-encoded fields value consumed by RequestAPIData / API_DATA; specific actions may ignore it.",
      "content": {
        "application/json": {
          "schema": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "id"
              ]
            ]
          },
          "example": [
            "id"
          ]
        }
      }
    },
    {
      "name": "filter",
      "in": "query",
      "required": false,
      "description": "JSON-encoded filter value consumed by RequestAPIData / API_DATA; specific actions may ignore it.",
      "content": {
        "application/json": {
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "property": {
                  "type": "string"
                },
                "expression": {
                  "type": "string"
                },
                "value": {}
              },
              "additionalProperties": true
            },
            "examples": [
              [
                {
                  "property": "id",
                  "expression": "=",
                  "value": "saml_012345abcdef_123456"
                }
              ]
            ]
          },
          "example": [
            {
              "property": "id",
              "expression": "=",
              "value": "saml_012345abcdef_123456"
            }
          ]
        }
      }
    },
    {
      "name": "limit",
      "in": "query",
      "required": false,
      "description": "JSON-encoded limit value consumed by RequestAPIData / API_DATA; specific actions may ignore it.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "start": {
                "type": "integer",
                "minimum": 0,
                "default": 0
              },
              "reply": {
                "type": "integer",
                "maximum": 2000,
                "default": 100
              }
            },
            "examples": [
              {
                "start": 0,
                "reply": 25
              }
            ]
          },
          "example": {
            "start": 0,
            "reply": 25
          }
        }
      }
    },
    {
      "name": "order",
      "in": "query",
      "required": false,
      "description": "JSON-encoded order value consumed by RequestAPIData / API_DATA; specific actions may ignore it.",
      "content": {
        "application/json": {
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "property": {
                  "type": "string"
                },
                "value": {
                  "type": "string",
                  "enum": [
                    "ASC",
                    "DESC"
                  ]
                }
              },
              "additionalProperties": true
            },
            "examples": [
              [
                {
                  "property": "id",
                  "value": "ASC"
                }
              ]
            ]
          },
          "example": [
            {
              "property": "id",
              "value": "ASC"
            }
          ]
        }
      }
    },
    {
      "name": "response_type",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "enum": [
          "array",
          "object"
        ],
        "examples": [
          "array"
        ]
      },
      "description": "Controls generic collection representation; default is an ID-keyed object."
    },
    {
      "name": "language",
      "in": "header",
      "required": false,
      "description": "Account language code, where the resource supports setLanguage().",
      "schema": {
        "type": "string",
        "examples": [
          "de"
        ]
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Response; inspect error and success as legacy failures may also use HTTP 200.",
      "content": {
        "application/json": {
          "example": {
            "success": true,
            "error": false,
            "data": {
              "saml_012345abcdef_123456": {
                "id": "saml_012345abcdef_123456"
              }
            },
            "limit": {
              "start": 0,
              "reply": 100,
              "total": 1
            }
          },
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "error": {
                "type": [
                  "boolean",
                  "string"
                ]
              },
              "error_code": {
                "type": "string"
              },
              "data": {
                "description": "Generic collection (ID-keyed object by default, array for response_type=array) or resource object. Structure fields are partial and action-dependent.",
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                        "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                        "examples": [
                          "saml_012345abcdef_123456"
                        ]
                      },
                      "status": {
                        "type": "boolean",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 40,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 224,
                            "reason": "Create forbids activating before setup and forces initial disabled status.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1274,
                            "reason": "Actual activation hook: strict false short circuit, settings/URL and required mapping checks.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1399,
                            "reason": "Provider config depends on stored certificate/mapping and may refresh metadata XML in real runtime.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1357,
                            "reason": "Metadata refresh delegates parsing and may fetch XML during real runtime; not invoked by this source review.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 85,
                            "reason": "Login URL wrapper delegates to OneLogin auth login with stay=true.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2925,
                            "reason": "Required mapping keys are explicit.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 246,
                            "reason": "Followed injectSettings/getSettings: build SP/IdP settings and instantiate OneLogin Auth, with signing and stored certificate settings.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 115,
                            "reason": "Followed service-provider settings construction used for activation.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/Auth.php",
                            "line": 174,
                            "reason": "Installed OneLogin Auth delegates validation to its Settings constructor.",
                            "sha256": "d4a3737528426ace71044fbc90e1a06273a76149c55ee1410dc21ae225ed4a8a"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/Auth.php",
                            "line": 542,
                            "reason": "Installed OneLogin login builds the SAML request and a redirect URL; this is not a completed external provider handshake.",
                            "sha256": "d4a3737528426ace71044fbc90e1a06273a76149c55ee1410dc21ae225ed4a8a"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "permission": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 50,
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                            "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                            "examples": [
                              "permission_012345abcdef_123456"
                            ]
                          },
                          {
                            "const": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "provider_name": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 63,
                        "type": "string"
                      },
                      "remote_xml_url": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 76,
                        "type": "string"
                      },
                      "remote_xml_content": {
                        "type": "string",
                        "description": "Metadata XML content stored by Samlfunc; setter passes it through verbatim.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 90,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 236,
                            "reason": "Creation reads remote_xml_file or remote_xml_url, validates/parses XML and assigns escaped metadata content.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 232,
                            "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                            "line": 115,
                            "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                            "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "login_service_url": {
                        "type": "string",
                        "readOnly": true,
                        "description": "Decoded metadata service URL text; logout may be empty.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 103,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 297,
                            "reason": "Before-insert derives SSO/SLO URLs; missing valid SSO rejects provider, optional SLO can remain false.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 232,
                            "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                            "line": 115,
                            "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                            "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "logout_service_url": {
                        "type": "string",
                        "readOnly": true,
                        "description": "Decoded metadata service URL text; logout may be empty.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 113,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 297,
                            "reason": "Before-insert derives SSO/SLO URLs; missing valid SSO rejects provider, optional SLO can remain false.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 232,
                            "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                            "line": 115,
                            "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                            "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "field_maping": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "description": {
                              "type": "string"
                            },
                            "attr": {
                              "type": "string"
                            },
                            "field": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "const": false
                                }
                              ]
                            },
                            "only_user": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "name",
                            "description",
                            "attr",
                            "field",
                            "only_user"
                          ],
                          "additionalProperties": true
                        },
                        "description": "Normal output is the fields array decoded from stored mapping; manually malformed legacy JSON is not repaired by the setter.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 123,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2861,
                            "reason": "Actual PUT mapping loop, truthiness requirement, duplicate detection and full replacement.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 480,
                            "reason": "Followed target normalizer and additional-user-field classifier.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2925,
                            "reason": "Followed base required mapping keys.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 319,
                            "reason": "Create mapping starts with idp metadata and empty field list.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 389,
                            "reason": "Create mapping is derived from offered/default claims and stored, overwriting submitted batch value.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1399,
                            "reason": "Followed getProviderData: existing provider/certificate lookup and mapping metadata; refresh may load remote XML in actual runtime, never during this review.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "allow_migration_user": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 135,
                        "type": "boolean"
                      },
                      "allow_permission_acl": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 144,
                        "type": "boolean"
                      },
                      "login_scope": {
                        "type": "string",
                        "enum": [
                          "both",
                          "admin",
                          "user"
                        ],
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 153,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 22,
                            "reason": "Followed validateProvidedLoginScope and provider normalizer.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 197,
                            "reason": "Before-insert sets scope and applies dependent permission requirement.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2840,
                            "reason": "Actual PUT hook delegates to scope validator.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 42,
                            "reason": "Allowed normalized scopes and default both; output normalizer.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "name_id_format": {
                        "type": "string",
                        "enum": [
                          "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
                          "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
                          "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
                        ],
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 172,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2770,
                            "reason": "PUT checks exact NameID allowed values before aP storage.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                            "line": 14,
                            "reason": "Strict allowed formats and separate response fallback.",
                            "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                          },
                          {
                            "file": "vendor/onelogin/php-saml/src/Saml2/Constants.php",
                            "line": 26,
                            "reason": "Followed installed dependency constants to actual standard URI strings.",
                            "sha256": "a7f6ab35d1209e34d499662ae1f8f5bedf0ae6f08325388e8b186ea85f6c236d"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "auth_request_signed": {
                        "type": "boolean",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 190,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2801,
                            "reason": "Actual flag hook clears provider cache and compares edisset value strictly with true.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "disable_third_party_cookie": {
                        "type": "boolean",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 200,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2810,
                            "reason": "Actual flag hook clears provider cache and compares edisset value strictly with true.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "regenerate_certificate": {
                        "const": false,
                        "description": "Structure set returns false; select=false. This is an action command, not persisted public certificate material.",
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 210,
                            "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2819,
                            "reason": "Strict command allowlist and generation/storage delegation.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1087,
                            "reason": "Followed certificate payload generation and replace-active storage behavior.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 349,
                            "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 1077,
                            "reason": "Followed certificate host resolution: base URL host is required; a bad host throws RuntimeException.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "docs/openapi/reviews/identity-fields.json",
                            "line": 1,
                            "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                            "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                          }
                        ]
                      },
                      "enforce_offer_tags": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 222,
                        "type": "boolean"
                      },
                      "offer_tags_additive": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 231,
                        "type": "boolean"
                      },
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "tag": {
                              "type": "string",
                              "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                              "description": "Opaque v2 ID returned for a record in the selected account."
                            },
                            "type": {
                              "const": "normal"
                            }
                          },
                          "additionalProperties": true,
                          "required": [
                            "tag",
                            "type"
                          ]
                        },
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2610,
                            "reason": "Array or null accepted; each item must contain a public tag ID.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2630,
                            "reason": "Missing type defaults to normal; supplied type is lowercased before validation.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 256,
                            "reason": "Response is an array of {tag,type:normal}.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2686,
                            "lineEnd": 2697,
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8",
                            "reason": "The final provider tag set, including retained tags on filter-only updates, must exist in this account before any tag/filter persistence."
                          }
                        ]
                      },
                      "offer_filter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                          "description": "Opaque v2 ID returned for a record in the selected account."
                        },
                        "x-edoobox-contractSource": [
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2653,
                            "reason": "Array or null accepted; items decode as public tag IDs.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2678,
                            "reason": "Filter tags must be contained in provider tags.",
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                          },
                          {
                            "file": "application/models/v2/Saml.php",
                            "line": 298,
                            "reason": "Response is an array of public tag IDs.",
                            "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                          },
                          {
                            "file": "application/models/v2/Samlfunc.php",
                            "line": 2686,
                            "lineEnd": 2697,
                            "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8",
                            "reason": "The final provider tag set, including retained tags on filter-only updates, must exist in this account before any tag/filter persistence."
                          }
                        ]
                      },
                      "date_valid": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 317,
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "const": false
                          }
                        ]
                      },
                      "date_create": {
                        "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                        "x-edoobox-sourceLine": 327,
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "const": false
                          }
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                          "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                          "examples": [
                            "saml_012345abcdef_123456"
                          ]
                        },
                        "status": {
                          "type": "boolean",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 40,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 224,
                              "reason": "Create forbids activating before setup and forces initial disabled status.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 1274,
                              "reason": "Actual activation hook: strict false short circuit, settings/URL and required mapping checks.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 1399,
                              "reason": "Provider config depends on stored certificate/mapping and may refresh metadata XML in real runtime.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 1357,
                              "reason": "Metadata refresh delegates parsing and may fetch XML during real runtime; not invoked by this source review.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 85,
                              "reason": "Login URL wrapper delegates to OneLogin auth login with stay=true.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2925,
                              "reason": "Required mapping keys are explicit.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 246,
                              "reason": "Followed injectSettings/getSettings: build SP/IdP settings and instantiate OneLogin Auth, with signing and stored certificate settings.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 115,
                              "reason": "Followed service-provider settings construction used for activation.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "vendor/onelogin/php-saml/src/Saml2/Auth.php",
                              "line": 174,
                              "reason": "Installed OneLogin Auth delegates validation to its Settings constructor.",
                              "sha256": "d4a3737528426ace71044fbc90e1a06273a76149c55ee1410dc21ae225ed4a8a"
                            },
                            {
                              "file": "vendor/onelogin/php-saml/src/Saml2/Auth.php",
                              "line": 542,
                              "reason": "Installed OneLogin login builds the SAML request and a redirect URL; this is not a completed external provider handshake.",
                              "sha256": "d4a3737528426ace71044fbc90e1a06273a76149c55ee1410dc21ae225ed4a8a"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "permission": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 50,
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                              "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                              "examples": [
                                "permission_012345abcdef_123456"
                              ]
                            },
                            {
                              "const": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "provider_name": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 63,
                          "type": "string"
                        },
                        "remote_xml_url": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 76,
                          "type": "string"
                        },
                        "remote_xml_content": {
                          "type": "string",
                          "description": "Metadata XML content stored by Samlfunc; setter passes it through verbatim.",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 90,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 236,
                              "reason": "Creation reads remote_xml_file or remote_xml_url, validates/parses XML and assigns escaped metadata content.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 232,
                              "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                              "line": 115,
                              "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                              "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "login_service_url": {
                          "type": "string",
                          "readOnly": true,
                          "description": "Decoded metadata service URL text; logout may be empty.",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 103,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 297,
                              "reason": "Before-insert derives SSO/SLO URLs; missing valid SSO rejects provider, optional SLO can remain false.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 232,
                              "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                              "line": 115,
                              "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                              "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "logout_service_url": {
                          "type": "string",
                          "readOnly": true,
                          "description": "Decoded metadata service URL text; logout may be empty.",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 113,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 297,
                              "reason": "Before-insert derives SSO/SLO URLs; missing valid SSO rejects provider, optional SLO can remain false.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 232,
                              "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                              "line": 115,
                              "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                              "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "field_maping": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "description": {
                                "type": "string"
                              },
                              "attr": {
                                "type": "string"
                              },
                              "field": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "const": false
                                  }
                                ]
                              },
                              "only_user": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "name",
                              "description",
                              "attr",
                              "field",
                              "only_user"
                            ],
                            "additionalProperties": true
                          },
                          "description": "Normal output is the fields array decoded from stored mapping; manually malformed legacy JSON is not repaired by the setter.",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 123,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2861,
                              "reason": "Actual PUT mapping loop, truthiness requirement, duplicate detection and full replacement.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 480,
                              "reason": "Followed target normalizer and additional-user-field classifier.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2925,
                              "reason": "Followed base required mapping keys.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 319,
                              "reason": "Create mapping starts with idp metadata and empty field list.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 389,
                              "reason": "Create mapping is derived from offered/default claims and stored, overwriting submitted batch value.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 1399,
                              "reason": "Followed getProviderData: existing provider/certificate lookup and mapping metadata; refresh may load remote XML in actual runtime, never during this review.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "allow_migration_user": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 135,
                          "type": "boolean"
                        },
                        "allow_permission_acl": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 144,
                          "type": "boolean"
                        },
                        "login_scope": {
                          "type": "string",
                          "enum": [
                            "both",
                            "admin",
                            "user"
                          ],
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 153,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 22,
                              "reason": "Followed validateProvidedLoginScope and provider normalizer.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 197,
                              "reason": "Before-insert sets scope and applies dependent permission requirement.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2840,
                              "reason": "Actual PUT hook delegates to scope validator.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 42,
                              "reason": "Allowed normalized scopes and default both; output normalizer.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "name_id_format": {
                          "type": "string",
                          "enum": [
                            "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
                            "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
                            "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
                          ],
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 172,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2770,
                              "reason": "PUT checks exact NameID allowed values before aP storage.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 14,
                              "reason": "Strict allowed formats and separate response fallback.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "vendor/onelogin/php-saml/src/Saml2/Constants.php",
                              "line": 26,
                              "reason": "Followed installed dependency constants to actual standard URI strings.",
                              "sha256": "a7f6ab35d1209e34d499662ae1f8f5bedf0ae6f08325388e8b186ea85f6c236d"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "auth_request_signed": {
                          "type": "boolean",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 190,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2801,
                              "reason": "Actual flag hook clears provider cache and compares edisset value strictly with true.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "disable_third_party_cookie": {
                          "type": "boolean",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 200,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2810,
                              "reason": "Actual flag hook clears provider cache and compares edisset value strictly with true.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "regenerate_certificate": {
                          "const": false,
                          "description": "Structure set returns false; select=false. This is an action command, not persisted public certificate material.",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 210,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2819,
                              "reason": "Strict command allowlist and generation/storage delegation.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 1087,
                              "reason": "Followed certificate payload generation and replace-active storage behavior.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 1077,
                              "reason": "Followed certificate host resolution: base URL host is required; a bad host throws RuntimeException.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "enforce_offer_tags": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 222,
                          "type": "boolean"
                        },
                        "offer_tags_additive": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 231,
                          "type": "boolean"
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "tag": {
                                "type": "string",
                                "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                                "description": "Opaque v2 ID returned for a record in the selected account."
                              },
                              "type": {
                                "const": "normal"
                              }
                            },
                            "additionalProperties": true,
                            "required": [
                              "tag",
                              "type"
                            ]
                          },
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2610,
                              "reason": "Array or null accepted; each item must contain a public tag ID.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2630,
                              "reason": "Missing type defaults to normal; supplied type is lowercased before validation.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 256,
                              "reason": "Response is an array of {tag,type:normal}.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2686,
                              "lineEnd": 2697,
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8",
                              "reason": "The final provider tag set, including retained tags on filter-only updates, must exist in this account before any tag/filter persistence."
                            }
                          ]
                        },
                        "offer_filter_tags": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                            "description": "Opaque v2 ID returned for a record in the selected account."
                          },
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2653,
                              "reason": "Array or null accepted; items decode as public tag IDs.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2678,
                              "reason": "Filter tags must be contained in provider tags.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 298,
                              "reason": "Response is an array of public tag IDs.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2686,
                              "lineEnd": 2697,
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8",
                              "reason": "The final provider tag set, including retained tags on filter-only updates, must exist in this account before any tag/filter persistence."
                            }
                          ]
                        },
                        "date_valid": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 317,
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "const": false
                            }
                          ]
                        },
                        "date_create": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 327,
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "const": false
                            }
                          ]
                        }
                      },
                      "additionalProperties": true
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                          "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                          "examples": [
                            "saml_012345abcdef_123456"
                          ]
                        },
                        "status": {
                          "type": "boolean",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 40,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 224,
                              "reason": "Create forbids activating before setup and forces initial disabled status.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 1274,
                              "reason": "Actual activation hook: strict false short circuit, settings/URL and required mapping checks.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 1399,
                              "reason": "Provider config depends on stored certificate/mapping and may refresh metadata XML in real runtime.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 1357,
                              "reason": "Metadata refresh delegates parsing and may fetch XML during real runtime; not invoked by this source review.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 85,
                              "reason": "Login URL wrapper delegates to OneLogin auth login with stay=true.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2925,
                              "reason": "Required mapping keys are explicit.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 246,
                              "reason": "Followed injectSettings/getSettings: build SP/IdP settings and instantiate OneLogin Auth, with signing and stored certificate settings.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 115,
                              "reason": "Followed service-provider settings construction used for activation.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "vendor/onelogin/php-saml/src/Saml2/Auth.php",
                              "line": 174,
                              "reason": "Installed OneLogin Auth delegates validation to its Settings constructor.",
                              "sha256": "d4a3737528426ace71044fbc90e1a06273a76149c55ee1410dc21ae225ed4a8a"
                            },
                            {
                              "file": "vendor/onelogin/php-saml/src/Saml2/Auth.php",
                              "line": 542,
                              "reason": "Installed OneLogin login builds the SAML request and a redirect URL; this is not a completed external provider handshake.",
                              "sha256": "d4a3737528426ace71044fbc90e1a06273a76149c55ee1410dc21ae225ed4a8a"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "permission": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 50,
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                              "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                              "examples": [
                                "permission_012345abcdef_123456"
                              ]
                            },
                            {
                              "const": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "provider_name": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 63,
                          "type": "string"
                        },
                        "remote_xml_url": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 76,
                          "type": "string"
                        },
                        "remote_xml_content": {
                          "type": "string",
                          "description": "Metadata XML content stored by Samlfunc; setter passes it through verbatim.",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 90,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 236,
                              "reason": "Creation reads remote_xml_file or remote_xml_url, validates/parses XML and assigns escaped metadata content.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 232,
                              "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                              "line": 115,
                              "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                              "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "login_service_url": {
                          "type": "string",
                          "readOnly": true,
                          "description": "Decoded metadata service URL text; logout may be empty.",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 103,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 297,
                              "reason": "Before-insert derives SSO/SLO URLs; missing valid SSO rejects provider, optional SLO can remain false.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 232,
                              "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                              "line": 115,
                              "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                              "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "logout_service_url": {
                          "type": "string",
                          "readOnly": true,
                          "description": "Decoded metadata service URL text; logout may be empty.",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 113,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 297,
                              "reason": "Before-insert derives SSO/SLO URLs; missing valid SSO rejects provider, optional SLO can remain false.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 232,
                              "reason": "Followed XML parsing wrapper to the installed OneLogin metadata parser.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "vendor/onelogin/php-saml/src/Saml2/IdPMetadataParser.php",
                              "line": 115,
                              "reason": "Installed parser loads XML, selects entity descriptor and extracts SSO/SLO locations and bindings.",
                              "sha256": "4df0c1b7bf79d2df3d1903099fde2edaefe07b7d690f427958a0746f3daf6e9e"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "field_maping": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "description": {
                                "type": "string"
                              },
                              "attr": {
                                "type": "string"
                              },
                              "field": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "const": false
                                  }
                                ]
                              },
                              "only_user": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "name",
                              "description",
                              "attr",
                              "field",
                              "only_user"
                            ],
                            "additionalProperties": true
                          },
                          "description": "Normal output is the fields array decoded from stored mapping; manually malformed legacy JSON is not repaired by the setter.",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 123,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2861,
                              "reason": "Actual PUT mapping loop, truthiness requirement, duplicate detection and full replacement.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 480,
                              "reason": "Followed target normalizer and additional-user-field classifier.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2925,
                              "reason": "Followed base required mapping keys.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 319,
                              "reason": "Create mapping starts with idp metadata and empty field list.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 389,
                              "reason": "Create mapping is derived from offered/default claims and stored, overwriting submitted batch value.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 1399,
                              "reason": "Followed getProviderData: existing provider/certificate lookup and mapping metadata; refresh may load remote XML in actual runtime, never during this review.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "allow_migration_user": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 135,
                          "type": "boolean"
                        },
                        "allow_permission_acl": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 144,
                          "type": "boolean"
                        },
                        "login_scope": {
                          "type": "string",
                          "enum": [
                            "both",
                            "admin",
                            "user"
                          ],
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 153,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 22,
                              "reason": "Followed validateProvidedLoginScope and provider normalizer.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 197,
                              "reason": "Before-insert sets scope and applies dependent permission requirement.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2840,
                              "reason": "Actual PUT hook delegates to scope validator.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 42,
                              "reason": "Allowed normalized scopes and default both; output normalizer.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "name_id_format": {
                          "type": "string",
                          "enum": [
                            "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
                            "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
                            "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
                          ],
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 172,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2770,
                              "reason": "PUT checks exact NameID allowed values before aP storage.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/libraries/edoobox/integrations/auth/Saml.php",
                              "line": 14,
                              "reason": "Strict allowed formats and separate response fallback.",
                              "sha256": "cb122e325068b8432675dd52856fd095233782d10652ee3a56ee8161ff3acb57"
                            },
                            {
                              "file": "vendor/onelogin/php-saml/src/Saml2/Constants.php",
                              "line": 26,
                              "reason": "Followed installed dependency constants to actual standard URI strings.",
                              "sha256": "a7f6ab35d1209e34d499662ae1f8f5bedf0ae6f08325388e8b186ea85f6c236d"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "auth_request_signed": {
                          "type": "boolean",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 190,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2801,
                              "reason": "Actual flag hook clears provider cache and compares edisset value strictly with true.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "disable_third_party_cookie": {
                          "type": "boolean",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 200,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2810,
                              "reason": "Actual flag hook clears provider cache and compares edisset value strictly with true.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "regenerate_certificate": {
                          "const": false,
                          "description": "Structure set returns false; select=false. This is an action command, not persisted public certificate material.",
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 210,
                              "reason": "Structure declaration: input get, output set, persistence flags and field hooks.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2819,
                              "reason": "Strict command allowlist and generation/storage delegation.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 1087,
                              "reason": "Followed certificate payload generation and replace-active storage behavior.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 349,
                              "reason": "Resource POST/PUT dispatch reachability and preconditions; field contracts apply to parent resource, not sub-resource actions.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 1077,
                              "reason": "Followed certificate host resolution: base URL host is required; a bad host throws RuntimeException.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "docs/openapi/reviews/identity-fields.json",
                              "line": 1,
                              "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                              "sha256": "0928d996b9c89e19be93905970488d6b869ac62bcbc4b6f260cd13a5c385a055"
                            }
                          ]
                        },
                        "enforce_offer_tags": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 222,
                          "type": "boolean"
                        },
                        "offer_tags_additive": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 231,
                          "type": "boolean"
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "tag": {
                                "type": "string",
                                "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                                "description": "Opaque v2 ID returned for a record in the selected account."
                              },
                              "type": {
                                "const": "normal"
                              }
                            },
                            "additionalProperties": true,
                            "required": [
                              "tag",
                              "type"
                            ]
                          },
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2610,
                              "reason": "Array or null accepted; each item must contain a public tag ID.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2630,
                              "reason": "Missing type defaults to normal; supplied type is lowercased before validation.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 256,
                              "reason": "Response is an array of {tag,type:normal}.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2686,
                              "lineEnd": 2697,
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8",
                              "reason": "The final provider tag set, including retained tags on filter-only updates, must exist in this account before any tag/filter persistence."
                            }
                          ]
                        },
                        "offer_filter_tags": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                            "description": "Opaque v2 ID returned for a record in the selected account."
                          },
                          "x-edoobox-contractSource": [
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2653,
                              "reason": "Array or null accepted; items decode as public tag IDs.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2678,
                              "reason": "Filter tags must be contained in provider tags.",
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8"
                            },
                            {
                              "file": "application/models/v2/Saml.php",
                              "line": 298,
                              "reason": "Response is an array of public tag IDs.",
                              "sha256": "d96a3b34fc395f517b58f0fe921ceffba9dd675c237f546d91cebc600ea783fc"
                            },
                            {
                              "file": "application/models/v2/Samlfunc.php",
                              "line": 2686,
                              "lineEnd": 2697,
                              "sha256": "60b2704bbe30a36725ed0a56f351e4ba6f6243b3c55393b51140fbd18ae3f0d8",
                              "reason": "The final provider tag set, including retained tags on filter-only updates, must exist in this account before any tag/filter persistence."
                            }
                          ]
                        },
                        "date_valid": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 317,
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "const": false
                            }
                          ]
                        },
                        "date_create": {
                          "description": "Response field from the resource Structure; dynamic values remain unconstrained.",
                          "x-edoobox-sourceLine": 327,
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "const": false
                            }
                          ]
                        }
                      },
                      "additionalProperties": true
                    }
                  }
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      }
    },
    "400": {
      "description": "Invalid request.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED40006"
          }
        }
      }
    },
    "401": {
      "description": "Missing/expired token, missing account context, account paused or model-specific authorization failure.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED40103"
          }
        }
      }
    },
    "402": {
      "description": "Missing/invalid action data or subscription/operation restriction.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED80100"
          }
        }
      }
    },
    "403": {
      "description": "Permission denied. Browser CORS rejection may have an empty body.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED40340"
          }
        }
      }
    },
    "404": {
      "description": "Unknown resource/action or unsupported method.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED80019"
          }
        }
      }
    },
    "422": {
      "description": "Validation failed.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED80020"
          }
        }
      }
    },
    "429": {
      "description": "Request/login rate limit exceeded. Honor Retry-After when supplied; legacy rate-limit paths may omit it. Retry only proven reads within a bounded deadline; a mutation is never automatically replayed after an ambiguous response.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED42902"
          }
        }
      },
      "headers": {
        "Retry-After": {
          "description": "Optional server delay in whole seconds or an HTTP date. Absence is not permission for an immediate retry.",
          "schema": {
            "type": "string",
            "examples": [
              "30"
            ]
          }
        }
      }
    },
    "502": {
      "description": "Server-side operation failed.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED50201"
          }
        }
      }
    }
  },
  "x-edoobox-mutates-state": false,
  "x-edoobox-runtimeMutationGuard": false,
  "x-edoobox-get-effect": "read",
  "x-edoobox-documentationReview": {
    "file": "docs/openapi/operation-contracts/05-auth.json",
    "notes": []
  },
  "x-edoobox-source": {
    "file": "application/models/v2/Saml.php",
    "method": "getSaml",
    "line": 405
  },
  "x-edoobox-documentationStatus": "reviewed",
  "x-edoobox-readOnly": true,
  "x-edoobox-safeForAutomation": false,
  "x-edoobox-permission": {
    "resource": "saml",
    "short": "saml",
    "checkedByDispatcher": true,
    "levels": [
      1,
      3,
      4
    ],
    "description": "Resource permission mapping from APIPermissions(), Authfunc::_getCheckJWT. Additional model/admin/plugin checks may apply; resources absent from api_permission do not acquire a fictitious scope."
  }
}
```
