Skip to content

Latest commit

 

History

History
73 lines (48 loc) · 1.77 KB

passkey-configuration.md

File metadata and controls

73 lines (48 loc) · 1.77 KB

Passkey Configuration

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.


getPassKeyConfig

GET /v2/manage/passkey

Retrieve Passkey configuration

Retrieves the current Passkey configuration settings for the Tenant.

Example

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

Returns

PassKeyConfig


upsertPassKeyConfig

PUT /v2/manage/passkey

Update Passkey configuration

Creates or updates the Passkey configuration settings for the Tenant.

Example

public static void callUpsertPassKeyConfig(LoginRadiusClient client) {
  PassKeyConfig passKeyConfig = new PassKeyConfig().isEnabled(true).passkeySelection("<passkeySelection>").localEnrollment(true).RPDisplayName("<RPDisplayName>").RPID("<RPID>").RPOrigins("<RPOrigins>"); //Required

  try {
    var response = client.passkeyConfiguration.upsertPassKeyConfig(passKeyConfig);
    System.out.println(response);
  } catch (ApiException e) {
    LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
    System.err.println(lr.description());
  }
}

Request body

PassKeyConfig as application/json.

Returns

PassKeyConfig