Skip to content

Latest commit

 

History

History
73 lines (48 loc) · 1.63 KB

sott.md

File metadata and controls

73 lines (48 loc) · 1.63 KB

SOTT

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.


addSott

POST /v2/manage/sott

Generate SOTT

Generates a new Secure One Time Token (SOTT) for the Tenant based on specified technology and parameters.

Example

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();
    }
}

Request body

SottGenerateTechnology as application/json.

Returns

SottResponse


getAllSOTT

GET /v2/manage/sott

List SOTTs

Retrieves a list of all Secure One Time Token (SOTT) entries associated with the Tenant.

Example

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();
    }
}

Returns

object