@aws-amplify/auth
Version:
Auth category of aws-amplify
12 lines (11 loc) • 587 B
TypeScript
import { DeleteWebAuthnCredentialInput } from '../../foundation/types';
/**
* Delete a registered credential for an authenticated user by credentialId
* @param {DeleteWebAuthnCredentialInput} input The delete input parameters including the credentialId
* @returns Promise<void>
* @throws - {@link AuthError}:
* - Thrown when user is unauthenticated
* @throws - {@link DeleteWebAuthnCredentialException}
* - Thrown due to a service error when deleting a WebAuthn credential
*/
export declare function deleteWebAuthnCredential(input: DeleteWebAuthnCredentialInput): Promise<void>;