Skip to content

resetGenericPassword() ​

ts
function resetGenericPassword(options?): Promise<boolean>

Deletes all generic password keychain entries for the given service.

Parameters ​

• options?: BaseOptions

A keychain options object.

Returns ​

Promise<boolean>

Resolves to true when successful, otherwise false.

Example ​

typescript
const success = await Keychain.resetGenericPassword();
console.log('Password reset successful:', success);

Defined in ​

index.ts:109