js.web.credentialmanagement.webauthn.PublicKeyCredentialCreationOptions Maven / Gradle / Ivy
package js.web.credentialmanagement.webauthn;
import js.lang.Any;
import js.util.collections.Array;
import js.web.dom.BufferSource;
import org.teavm.jso.JSByRef;
import org.teavm.jso.JSProperty;
import javax.annotation.Nullable;
public interface PublicKeyCredentialCreationOptions extends Any {
@JSProperty
@Nullable
AttestationConveyancePreference getAttestation();
@JSProperty
void setAttestation(AttestationConveyancePreference attestation);
@JSProperty
@Nullable
AuthenticatorSelectionCriteria getAuthenticatorSelection();
@JSProperty
void setAuthenticatorSelection(AuthenticatorSelectionCriteria authenticatorSelection);
@JSProperty
BufferSource getChallenge();
@JSProperty
void setChallenge(BufferSource challenge);
@JSProperty
@Nullable
Array getExcludeCredentials();
@JSProperty
void setExcludeCredentials(PublicKeyCredentialDescriptor... excludeCredentials);
@JSProperty
void setExcludeCredentials(Array excludeCredentials);
@JSProperty
@Nullable
AuthenticationExtensionsClientInputs getExtensions();
@JSProperty
void setExtensions(AuthenticationExtensionsClientInputs extensions);
@JSProperty
Array getPubKeyCredParams();
@JSProperty
void setPubKeyCredParams(PublicKeyCredentialParameters... pubKeyCredParams);
@JSProperty
void setPubKeyCredParams(Array pubKeyCredParams);
@JSProperty
PublicKeyCredentialRpEntity getRp();
@JSProperty
void setRp(PublicKeyCredentialRpEntity rp);
@JSProperty
double getTimeout();
@JSProperty
void setTimeout(double timeout);
@JSProperty
PublicKeyCredentialUserEntity getUser();
@JSProperty
void setUser(PublicKeyCredentialUserEntity user);
}