Class WebAuthnCredential

java.lang.Object
net.shibboleth.idp.plugin.authn.duo.model.WebAuthnCredential

@ThreadSafe @Immutable public final class WebAuthnCredential extends Object
A WebAuthn credential registered to a User.
Since:
2.1.0
  • Field Details

    • credentialName

      @Nullable private final String credentialName
      Free-form label for the WebAuthn credential.
    • dateAdded

      @Nullable private final Integer dateAdded
      The date the WebAuthn credential was registered in Duo.
    • dateLastUsed

      @Nullable private final Integer dateLastUsed
      The date the WebAuthn credential was last used.
    • label

      @Nullable private final String label
      Indicates the type of WebAuthn credential.
    • webauthnkey

      @Nullable private final String webauthnkey
      The WebAuthn credential's registration identifier.
    • passwordlessAuthorized

      @Nullable private final Boolean passwordlessAuthorized
      If true, this credential can be used for both MFA and Passwordless authentication. If false, this credential can only be used for MFA authentication.
    • backupEligible

      @Nullable private final Boolean backupEligible
      If true, this credential can be used from multiple devices. If false, this credential can only be used on one device.
    • backupStatus

      @Nullable private final Boolean backupStatus
      If true, this credential has been backed up and can be used from multiple devices. If false, this credential has not been backed up.
    • aaguid

      @Nullable private final String aaguid
      A unique identifier that conveys the authenticator's make and model, or the passkey's provider identity. This value cannot be verified as accurate by Duo.
    • registeredAs

      @Nullable private final String registeredAs
      The registration flow that was used to register this WebAuthn credential. One of platform, cross-platform, or unknown.
    • transports

      @Nullable private final List<String> transports
      The transports the authenticator can use to communicate with a client.
    • uvCapable

      @Nullable private final Boolean uvCapable
      Is the WebAuthn authenticator associated with this credential capable of identifying a user via a suitable authorization gesture (User Verification).
    • additionalProperties

      @Nonnull @NotLive @Unmodifiable private final Map<String,Object> additionalProperties
      Any additional properties not explicitly captured by this class are added to this map.
  • Constructor Details

    • WebAuthnCredential

      private WebAuthnCredential(WebAuthnCredential.Builder builder)
      Constructor.
      Parameters:
      builder - the builder
  • Method Details

    • getCredentialName

      @Nullable public String getCredentialName()
      Get the free-form label for the WebAuthn credential.
      Returns:
      the credential name
    • getDateAdded

      @Nullable public Integer getDateAdded()
      Get the date the WebAuthn credential was registered in Duo.
      Returns:
      the date the credential was added
    • getLabel

      @Nullable public String getLabel()
      Get the type of WebAuthn credential.
      Returns:
      the credential label
    • getWebauthnkey

      @Nullable public String getWebauthnkey()
      Get the WebAuthn credential's registration identifier.
      Returns:
      the credentials registration identifier
    • isUvCapable

      @Nullable public Boolean isUvCapable()
      Is the WebAuthn authenticator associated with this credential capable of identifying a user via a suitable authorization gesture.
      Returns:
      if the authenticator is uv capable, null if not defined.
    • getDateLastUsed

      @Nullable public Integer getDateLastUsed()
      Get the date the WebAuthn credential was last used
      Returns:
      the date.
    • getAaguid

      public String getAaguid()
      Get the unique identifier that conveys the authenticator's make and model, or the passkey's provider identity. This value cannot be verified as accurate by Duo.
      Returns:
      the aaguid
    • isBackupEligible

      public Boolean isBackupEligible()
      If true, this credential can be used from multiple devices. If false, this credential can only be used on one device.
      Returns:
      if the credential is backup eligible, null if not defined.
    • isBackupStatus

      public Boolean isBackupStatus()
      If true, this credential has been backed up and can be used from multiple devices. If false, this credential has not been backed up, null if not defined.
      Returns:
      the backup status
    • isPasswordlessAuthorized

      public Boolean isPasswordlessAuthorized()
      If true, this credential can be used for both MFA and Passwordless authentication. If false, this credential can only be used for MFA authentication.
      Returns:
      if passwordless is authorized.
    • getRegisteredAs

      public String getRegisteredAs()
      The registration flow that was used to register this WebAuthn credential. One of platform, cross-platform, or unknown.
      Returns:
      what the credential was registered as
    • getTransports

      public List<String> getTransports()
      Get the transports the authenticator can use to communicate with a client.
      Returns:
      the transports
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Get any additional properties not explicitly captured by this class.
      Returns:
      the map of any additional properties not directly captured by this class.
    • builder

      public static WebAuthnCredential.Builder builder()
      Get the builder for this class.
      Returns:
      the builder for this class