Interface WebAuthnCredentialDescription.Builder

    • Method Detail

      • credentialId

        WebAuthnCredentialDescription.Builder credentialId​(String credentialId)

        The unique identifier of the passkey credential.

        Parameters:
        credentialId - The unique identifier of the passkey credential.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • friendlyCredentialName

        WebAuthnCredentialDescription.Builder friendlyCredentialName​(String friendlyCredentialName)

        An automatically-generated friendly name for the passkey credential.

        Parameters:
        friendlyCredentialName - An automatically-generated friendly name for the passkey credential.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • relyingPartyId

        WebAuthnCredentialDescription.Builder relyingPartyId​(String relyingPartyId)

        The relying-party ID of the provider for the passkey credential.

        Parameters:
        relyingPartyId - The relying-party ID of the provider for the passkey credential.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authenticatorAttachment

        WebAuthnCredentialDescription.Builder authenticatorAttachment​(String authenticatorAttachment)

        The general category of the passkey authenticator. Can be a platform, or on-device authenticator like a built-in fingerprint scanner, or a cross-platform device that's not attached to the device like a Bluetooth security key.

        Parameters:
        authenticatorAttachment - The general category of the passkey authenticator. Can be a platform, or on-device authenticator like a built-in fingerprint scanner, or a cross-platform device that's not attached to the device like a Bluetooth security key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authenticatorTransports

        WebAuthnCredentialDescription.Builder authenticatorTransports​(Collection<String> authenticatorTransports)

        Information about the transport methods of the passkey credential, for example USB or Bluetooth Low Energy.

        Parameters:
        authenticatorTransports - Information about the transport methods of the passkey credential, for example USB or Bluetooth Low Energy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authenticatorTransports

        WebAuthnCredentialDescription.Builder authenticatorTransports​(String... authenticatorTransports)

        Information about the transport methods of the passkey credential, for example USB or Bluetooth Low Energy.

        Parameters:
        authenticatorTransports - Information about the transport methods of the passkey credential, for example USB or Bluetooth Low Energy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        WebAuthnCredentialDescription.Builder createdAt​(Instant createdAt)

        The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.

        Parameters:
        createdAt - The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.