Is deleteCredential ever called?

13 views
Skip to first unread message

Francis Augusto Medeiros

unread,
Sep 16, 2025, 9:21:14 AM (10 days ago) Sep 16
to keyclo...@googlegroups.com
Hi,

I am developing a custom CredentialProvider. It is working very well so far, but one thing is weird:

When I click on «Delete» on the account menu, the credential is - I guess - deleted from the database. But the method deleteCredential() of my provider is never called.

Is this by design? Is there a way I can hook my own logic when a credential is deleted?

Best,

Francis

Francis Augusto Medeiros

unread,
Sep 16, 2025, 2:04:39 PM (10 days ago) Sep 16
to keyclo...@googlegroups.com
I actually managed to achieve this by creating a provider that extends DeleteCredentialAction.java.

Not sure if that’s very elegant, but it worked. Then I call super for everything but run my own logic if the credential is of a given type.

Is there any concerns I should be aware of by doing this - besides watching out for updated on the class I extend?

Best,

Francis
Reply all
Reply to author
Forward
0 new messages