Zum Inhalt
edoobox Docs
Kostenlos testen 7 Tage unverbindlich testen
Menü
Kostenlos testen 7 Tage unverbindlich testen
OpenAPI herunterladen
authAPI-Referenz
POST/v2/auth/saml/sso/{accountIdentifier}

SAML-Anmeldeanbieter eines Kontos auflisten

Liest bis zu zehn aktive, nicht gelöschte SAML-Provider des über accountIdentifier gewählten Kontokürzels für Administrator-Anmeldungen (login_scope=both/admin). Gibt Organisation, öffentliche account-/saml-IDs und die serverseitig erzeugte Login-URL zurück. Öffentlicher Discovery-Schritt mit technischen Zugriffslimits; es wird noch keine Anmeldung erstellt.

Operation-ID post_v2_auth_saml_sso_accountIdentifier

01

Vertrag & Verhalten

Dokumentationsstand
reviewed
Ändert Zustand
Nein
Als readOnly markiert
Ja
Für Automation markiert
Nein
02

Authentifizierung

Für diesen Endpunkt sind keine OpenAPI-Security-Schemas vorgeschrieben. Weitere Voraussetzungen stehen in den Parametern und den Metadaten.

Berechtigungen

No account-JWT resource permission levels are applied. Authentication requirements, if any, are defined by this route source-specific boundary and dedicated security scheme.

03

Parameter

Pfadparameter

accountIdentifiererforderlich
string

Existing public account shortcut or source-supported account identifier.

minLength
1
Vollständiges Schema als JSON
{
  "type": "string",
  "minLength": 1,
  "description": "Existing public account shortcut or source-supported account identifier."
}
04

Request Body

Kein Request Body in der Spezifikation beschrieben.

05

Antworten

9

HTTP-Status und Antwortinhalt gemeinsam auswerten. In dieser API können auch Antworten mit HTTP 200 einen Fehler enthalten.

200application/json

Aktive Administrator-SSO-Anbieter; kein Login-Token und keine internen IDs.

application/json

object
success boolean
error boolean | string
error_code string
data array
Array-Elemente
object
organization_name string erforderlich
account string erforderlich

Öffentliche v2-ID aus dem gewählten Konto; keine rohe Datenbank-ID.

pattern
"^account_[a-f0-9]{12}_-?[0-9]+$"
saml string erforderlich

Öffentliche v2-ID aus dem gewählten Konto; keine rohe Datenbank-ID.

pattern
"^saml_[a-f0-9]{12}_-?[0-9]+$"
provider_name string erforderlich
url string erforderlich
format
"uri"

Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.

type string

Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.

Vollständiges Schema als JSON
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "error": {
      "type": [
        "boolean",
        "string"
      ]
    },
    "error_code": {
      "type": "string"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "organization_name": {
            "type": "string"
          },
          "account": {
            "type": "string",
            "pattern": "^account_[a-f0-9]{12}_-?[0-9]+$",
            "description": "Öffentliche v2-ID aus dem gewählten Konto; keine rohe Datenbank-ID."
          },
          "saml": {
            "type": "string",
            "pattern": "^saml_[a-f0-9]{12}_-?[0-9]+$",
            "description": "Öffentliche v2-ID aus dem gewählten Konto; keine rohe Datenbank-ID."
          },
          "provider_name": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": true,
        "required": [
          "organization_name",
          "account",
          "saml",
          "provider_name",
          "url"
        ]
      }
    },
    "type": {
      "type": "string"
    }
  },
  "additionalProperties": true
}
Beispiel
{
  "success": true,
  "error": false,
  "data": [
    {
      "organization_name": "Beispielakademie",
      "account": "account_012345abcdef_123456",
      "saml": "saml_012345abcdef_123456",
      "provider_name": "Beispiel-IDP",
      "url": "https://app2.edoobox.com/v2/auth/saml/redirect/saml_012345abcdef_123456/account_012345abcdef_123456/"
    }
  ]
}
400application/json

Invalid request.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED40006"
}
401application/json

Missing/expired token, missing account context, account paused or model-specific authorization failure.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED40103"
}
402application/json

Missing/invalid action data or subscription/operation restriction.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED80100"
}
403application/json

Permission denied. Browser CORS rejection may have an empty body.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED40340"
}
404application/json

Unknown resource/action or unsupported method.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED80019"
}
422application/json

Validation failed.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED80020"
}
429application/json

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.

Response Header

Retry-After

Optional server delay in whole seconds or an HTTP date. Absence is not permission for an immediate retry.

string
Schema-Beispiel
"30"
Vollständiges Schema als JSON
{
  "type": "string",
  "examples": [
    "30"
  ]
}

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED42902"
}
502application/json

Server-side operation failed.

application/json

Typ nicht eingeschränkt

Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.

Beispiel
{
  "success": false,
  "error": "ED50201"
}
06

Quelle & Metadaten

Quelle laut Spezifikationapplication/models/v2/Samlfunc.php:1502getListProviderAPI()

Diese Angaben stammen unverändert aus der gelieferten OpenAPI-Datei. Zusätzliche Freigaben, Vorbedingungen, sensible Felder und Hinweise stehen in den Erweiterungen.

x-edoobox-mutates-state
false
x-edoobox-bodylessSource
{
  "file": "application/models/v2/Samlfunc.php",
  "method": "getListProviderAPI",
  "line": 1502
}
x-edoobox-runtimeMutationGuard
false
x-edoobox-documentationReview
{
  "file": "docs/openapi/operation-contracts/05-auth.json",
  "notes": []
}
x-edoobox-source
{
  "file": "application/models/v2/Samlfunc.php",
  "method": "getListProviderAPI",
  "line": 1502
}
x-edoobox-documentationStatus
"reviewed"
x-edoobox-readOnly
true
x-edoobox-safeForAutomation
false
x-edoobox-permission
{
  "description": "No account-JWT resource permission levels are applied. Authentication requirements, if any, are defined by this route source-specific boundary and dedicated security scheme.",
  "checkedByDispatcher": false,
  "levels": []
}
Vollständige Operation als JSON
{
  "operationId": "post_v2_auth_saml_sso_accountIdentifier",
  "summary": "SAML-Anmeldeanbieter eines Kontos auflisten",
  "description": "Liest bis zu zehn aktive, nicht gelöschte SAML-Provider des über accountIdentifier gewählten Kontokürzels für Administrator-Anmeldungen (login_scope=both/admin). Gibt Organisation, öffentliche account-/saml-IDs und die serverseitig erzeugte Login-URL zurück. Öffentlicher Discovery-Schritt mit technischen Zugriffslimits; es wird noch keine Anmeldung erstellt.",
  "tags": [
    "auth"
  ],
  "security": [],
  "parameters": [
    {
      "name": "accountIdentifier",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string",
        "minLength": 1,
        "description": "Existing public account shortcut or source-supported account identifier."
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Aktive Administrator-SSO-Anbieter; kein Login-Token und keine internen IDs.",
      "content": {
        "application/json": {
          "example": {
            "success": true,
            "error": false,
            "data": [
              {
                "organization_name": "Beispielakademie",
                "account": "account_012345abcdef_123456",
                "saml": "saml_012345abcdef_123456",
                "provider_name": "Beispiel-IDP",
                "url": "https://app2.edoobox.com/v2/auth/saml/redirect/saml_012345abcdef_123456/account_012345abcdef_123456/"
              }
            ]
          },
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "error": {
                "type": [
                  "boolean",
                  "string"
                ]
              },
              "error_code": {
                "type": "string"
              },
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "organization_name": {
                      "type": "string"
                    },
                    "account": {
                      "type": "string",
                      "pattern": "^account_[a-f0-9]{12}_-?[0-9]+$",
                      "description": "Öffentliche v2-ID aus dem gewählten Konto; keine rohe Datenbank-ID."
                    },
                    "saml": {
                      "type": "string",
                      "pattern": "^saml_[a-f0-9]{12}_-?[0-9]+$",
                      "description": "Öffentliche v2-ID aus dem gewählten Konto; keine rohe Datenbank-ID."
                    },
                    "provider_name": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "additionalProperties": true,
                  "required": [
                    "organization_name",
                    "account",
                    "saml",
                    "provider_name",
                    "url"
                  ]
                }
              },
              "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-bodylessSource": {
    "file": "application/models/v2/Samlfunc.php",
    "method": "getListProviderAPI",
    "line": 1502
  },
  "x-edoobox-runtimeMutationGuard": false,
  "x-edoobox-documentationReview": {
    "file": "docs/openapi/operation-contracts/05-auth.json",
    "notes": []
  },
  "x-edoobox-source": {
    "file": "application/models/v2/Samlfunc.php",
    "method": "getListProviderAPI",
    "line": 1502
  },
  "x-edoobox-documentationStatus": "reviewed",
  "x-edoobox-readOnly": true,
  "x-edoobox-safeForAutomation": false,
  "x-edoobox-permission": {
    "description": "No account-JWT resource permission levels are applied. Authentication requirements, if any, are defined by this route source-specific boundary and dedicated security scheme.",
    "checkedByDispatcher": false,
    "levels": []
  }
}