Ensure client secret is deleted when the user signs out.

This commit is contained in:
Benoit Marty 2024-01-16 14:34:06 +01:00
parent 40e401c599
commit 4b37ea1a2d
4 changed files with 24 additions and 11 deletions

View file

@ -29,9 +29,4 @@ interface PushClientSecret {
* Return null if not found.
*/
suspend fun getUserIdFromSecret(clientSecret: String): SessionId?
/**
* To call when the user signs out.
*/
suspend fun resetSecretForUser(userId: SessionId)
}