Class Fido2AuthenticationMethod

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class Fido2AuthenticationMethod extends AuthenticationMethod implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • Fido2AuthenticationMethod

      public Fido2AuthenticationMethod()
      Instantiates a new Fido2AuthenticationMethod and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static Fido2AuthenticationMethod createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a Fido2AuthenticationMethod
    • getAaGuid

      @Nullable public String getAaGuid()
      Gets the aaGuid property value. Authenticator Attestation GUID, an identifier that indicates the type (such as make and model) of the authenticator.
      Returns:
      a String
    • getAttestationCertificates

      @Nullable public List<String> getAttestationCertificates()
      Gets the attestationCertificates property value. The attestation certificate or certificates attached to this passkey.
      Returns:
      a List<String>
    • getAttestationLevel

      @Nullable public AttestationLevel getAttestationLevel()
      Gets the attestationLevel property value. The attestation level of this passkey (FIDO2). The possible values are: attested, notAttested, unknownFutureValue.
      Returns:
      a AttestationLevel
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name of the key as given by the user.
      Returns:
      a String
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class AuthenticationMethod
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getModel

      @Nullable public String getModel()
      Gets the model property value. The manufacturer-assigned model of the FIDO2 passkey.
      Returns:
      a String
    • getPasskeyType

      @Nullable public PasskeyType getPasskeyType()
      Gets the passkeyType property value. The type of passkey. The possible values are: deviceBound, synced, unknownFutureValue.
      Returns:
      a PasskeyType
    • getPublicKeyCredential

      @Nullable public WebauthnPublicKeyCredential getPublicKeyCredential()
      Gets the publicKeyCredential property value. Contains the WebAuthn public key credential information being registered. This property is used only for write requests and isn't returned on read operations.
      Returns:
      a WebauthnPublicKeyCredential
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class AuthenticationMethod
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAaGuid

      public void setAaGuid(@Nullable String value)
      Sets the aaGuid property value. Authenticator Attestation GUID, an identifier that indicates the type (such as make and model) of the authenticator.
      Parameters:
      value - Value to set for the aaGuid property.
    • setAttestationCertificates

      public void setAttestationCertificates(@Nullable List<String> value)
      Sets the attestationCertificates property value. The attestation certificate or certificates attached to this passkey.
      Parameters:
      value - Value to set for the attestationCertificates property.
    • setAttestationLevel

      public void setAttestationLevel(@Nullable AttestationLevel value)
      Sets the attestationLevel property value. The attestation level of this passkey (FIDO2). The possible values are: attested, notAttested, unknownFutureValue.
      Parameters:
      value - Value to set for the attestationLevel property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name of the key as given by the user.
      Parameters:
      value - Value to set for the displayName property.
    • setModel

      public void setModel(@Nullable String value)
      Sets the model property value. The manufacturer-assigned model of the FIDO2 passkey.
      Parameters:
      value - Value to set for the model property.
    • setPasskeyType

      public void setPasskeyType(@Nullable PasskeyType value)
      Sets the passkeyType property value. The type of passkey. The possible values are: deviceBound, synced, unknownFutureValue.
      Parameters:
      value - Value to set for the passkeyType property.
    • setPublicKeyCredential

      public void setPublicKeyCredential(@Nullable WebauthnPublicKeyCredential value)
      Sets the publicKeyCredential property value. Contains the WebAuthn public key credential information being registered. This property is used only for write requests and isn't returned on read operations.
      Parameters:
      value - Value to set for the publicKeyCredential property.