All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fusionauth.domain.api.WebAuthnCredentialImportRequest Maven / Gradle / Ivy

There is a newer version: 1.53.0
Show newest version
/*
 * Copyright (c) 2022, FusionAuth, All Rights Reserved
 */
package io.fusionauth.domain.api;

import java.util.List;

import io.fusionauth.domain.Buildable;
import io.fusionauth.domain.WebAuthnCredential;

/**
 * API request to import an existing WebAuthn credential(s)
 *
 * @author Spencer Witt
 */
public class WebAuthnCredentialImportRequest implements Buildable {
  /**
   * The WebAuthn credential(s) to import. Required fields on credential:
   * 
    *
  • userId
  • *
  • credentialId
  • *
  • publicKey
  • *
  • algorithm
  • *
* Other fields not specified will be populated with the same defaults as a credential registered through a WebAuthn ceremony. */ public List credentials; /** * If {@code true}, database constraints will be validated before import is attempted. Otherwise, database constraint violations will result in * database exceptions */ public boolean validateDbConstraints; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy