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

com.yubico.fido.metadata.ExtensionDescriptor Maven / Gradle / Ivy

package com.yubico.fido.metadata;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.NonNull;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;

/**
 * This descriptor contains an extension supported by the authenticator.
 *
 * @see FIDO
 *     Metadata Statement §3.10. ExtensionDescriptor dictionary
 */
@Value
@Builder(toBuilder = true)
@Jacksonized
public class ExtensionDescriptor {

  /**
   * @see FIDO
   *     Metadata Statement §3.10. ExtensionDescriptor dictionary
   */
  @NonNull String id;

  /**
   * @see FIDO
   *     Metadata Statement §3.10. ExtensionDescriptor dictionary
   */
  Integer tag;

  /**
   * @see FIDO
   *     Metadata Statement §3.10. ExtensionDescriptor dictionary
   */
  String data;

  /**
   * @see FIDO
   *     Metadata Statement §3.10. ExtensionDescriptor dictionary
   */
  @JsonProperty("fail_if_unknown")
  boolean failIfUnknown;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy