2 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/sott
Generate SOTT
Generates a new Secure One Time Token (SOTT) for the Tenant based on specified technology and parameters.
function callAddSott($client) {
$sottGenerateTechnology = new \LoginRadius\Sdk\Internal\OpenApi\Model\SottGenerateTechnology(['expiresInMinutes' => 0, 'technology' => '<technology>']); //Optional
try {
$response = $client->sott->addSott($sottGenerateTechnology);
echo $response;
} catch (\LoginRadius\Sdk\Internal\OpenApi\ApiException $e) {
$lr = \LoginRadius\Sdk\Client::toLoginRadiusException($e);
echo $lr->description();
}
}SottGenerateTechnology as application/json.
SottResponse
GET /v2/manage/sott
List SOTTs
Retrieves a list of all Secure One Time Token (SOTT) entries associated with the Tenant.
function callGetAllSOTT($client) {
try {
$response = $client->sott->getAllSOTT();
echo $response;
} catch (\LoginRadius\Sdk\Internal\OpenApi\ApiException $e) {
$lr = \LoginRadius\Sdk\Client::toLoginRadiusException($e);
echo $lr->description();
}
}object