Ensure client secret is deleted when the user signs out.
This commit is contained in:
parent
40e401c599
commit
4b37ea1a2d
4 changed files with 24 additions and 11 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue