Skip to main content

Function: resetGenericPassword()

resetGenericPassword(serviceOrOptions?): Promise<boolean>

Deletes all generic password keychain entries for the given service.

Parameters

serviceOrOptions?: string | Partial<object & BaseOptions>

A keychain options object or a service name string.

Returns

Promise<boolean>

Resolves to true when successful, otherwise false.

Example

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

Defined in

index.ts:323