Skip to content

Latest commit

 

History

History
73 lines (48 loc) · 1.62 KB

File metadata and controls

73 lines (48 loc) · 1.62 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

public static void callAddSott(LoginRadiusClient client) {
  SottGenerateTechnology sottGenerateTechnology = new SottGenerateTechnology().expiresInMinutes(0).technology("<technology>"); //Optional

  try {
    var response = client.sott.addSott(sottGenerateTechnology);
    System.out.println(response);
  } catch (ApiException e) {
    LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
    System.err.println(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

public static void callGetAllSOTT(LoginRadiusClient client) {
  try {
    var response = client.sott.getAllSOTT();
    System.out.println(response);
  } catch (ApiException e) {
    LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
    System.err.println(lr.description());
  }
}

Returns

object