6 operation(s). Part of the API index.
Call these as $client-><service>-><method>(...). <service> is the client field for this
group — the README lists the field name for every service.
These pages group operations the way the OpenAPI specification tags them, which
is not always one field per page.
POST /v2/manage/integrations/saml
Create SAML IdP Configuration
Creates a new SAML-based Identity Provider integration for the Tenant, enabling authentication and federation with the specified IdP.
function callCreateSamlIntegration($client) {
$createSamlIntegrationRequest = new \LoginRadius\Sdk\Internal\OpenApi\Model\CreateSamlIntegrationRequest(['appName' => '<appName>']); //Required
try {
$response = $client->samlIntegrations->createSamlIntegration($createSamlIntegrationRequest);
echo $response;
} catch (\LoginRadius\Sdk\Internal\OpenApi\ApiException $e) {
$lr = \LoginRadius\Sdk\Client::toLoginRadiusException($e);
echo $lr->description();
}
}object as application/json.
SamlIntegrationResponse
DELETE /v2/manage/integrations/saml/{samlApp}
Delete SAML IdP Configuration
Deletes the SAML-based Identity Provider configuration for the Tenant identified by the application name, disabling authentication for the specified application.
function callDeleteSamlIntegrationByAppName($client) {
$samlApp = '<samlApp>'; //Required
try {
$response = $client->samlIntegrations->deleteSamlIntegrationByAppName(samlApp: $samlApp);
echo $response;
} catch (\LoginRadius\Sdk\Internal\OpenApi\ApiException $e) {
$lr = \LoginRadius\Sdk\Client::toLoginRadiusException($e);
echo $lr->description();
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
samlApp |
path | string | yes | The SAML App identifier |
DeleteResponse
GET /v2/manage/integrations/saml
List SAML Integrations
Retrieves a list of all configured SAML-based Identity Provider integrations for the Tenant, including metadata and settings for authentication.
function callGetAllSamlIntegrations($client) {
try {
$response = $client->samlIntegrations->getAllSamlIntegrations();
echo $response;
} catch (\LoginRadius\Sdk\Internal\OpenApi\ApiException $e) {
$lr = \LoginRadius\Sdk\Client::toLoginRadiusException($e);
echo $lr->description();
}
}object
GET /v2/manage/integrations/saml/{samlApp}
Retrieve SAML IdP client configuration by app name
Retrieves the SAML-based Identity Provider configuration details for the Tenant using the application name, including metadata and settings.
function callGetSamlIntegrationByAppName($client) {
$samlApp = '<samlApp>'; //Required
try {
$response = $client->samlIntegrations->getSamlIntegrationByAppName(samlApp: $samlApp);
echo $response;
} catch (\LoginRadius\Sdk\Internal\OpenApi\ApiException $e) {
$lr = \LoginRadius\Sdk\Client::toLoginRadiusException($e);
echo $lr->description();
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
samlApp |
path | string | yes | The SAML App identifier |
SamlIntegrationResponse
POST /v2/manage/integrations/saml/{samlApp}/renew-certificate
Renew SAML IdP Certificate
Renews the SAML Identity Provider certificate to replace an expiring or compromised signing certificate.
function callRenewSamlIntegrationCertificate($client) {
$samlApp = '<samlApp>'; //Required
try {
$response = $client->samlIntegrations->renewSamlIntegrationCertificate(samlApp: $samlApp);
echo $response;
} catch (\LoginRadius\Sdk\Internal\OpenApi\ApiException $e) {
$lr = \LoginRadius\Sdk\Client::toLoginRadiusException($e);
echo $lr->description();
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
samlApp |
path | string | yes | The SAML App identifier |
SamlIntegrationResponse
PUT /v2/manage/integrations/saml/{samlApp}
Update SAML IdP client configuration by app name
Updates an existing SAML-based Identity Provider configuration for the Tenant identified by the application name, modifying necessary settings.
function callUpdateSamlIntegrationByAppName($client) {
$samlApp = '<samlApp>'; //Required
$samlIntegrationRequest = new \LoginRadius\Sdk\Internal\OpenApi\Model\SamlIntegrationRequest(['afterLogoutUrl' => '<afterLogoutUrl>', 'assertionConsumerService' => '<assertionConsumerService>', 'attributes' => '<attributes>']); //Required
try {
$response = $client->samlIntegrations->updateSamlIntegrationByAppName($samlIntegrationRequest, samlApp: $samlApp);
echo $response;
} catch (\LoginRadius\Sdk\Internal\OpenApi\ApiException $e) {
$lr = \LoginRadius\Sdk\Client::toLoginRadiusException($e);
echo $lr->description();
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
samlApp |
path | string | yes | The SAML App identifier |
SamlIntegrationRequest as application/json.
SamlIntegrationResponse