Merge pull request #6726 from element-hq/feature/bma/renameVerificationMethod

Rename verification methods
This commit is contained in:
Benoit Marty 2026-05-06 17:50:11 +02:00 committed by GitHub
commit 15162e4e32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 58 additions and 49 deletions

View file

@ -33,7 +33,7 @@ interface SessionVerificationService {
/**
* Request verification of the current session.
*/
suspend fun requestCurrentSessionVerification()
suspend fun requestDeviceVerification()
/**
* Request verification of the user with the given [userId].
@ -56,9 +56,9 @@ interface SessionVerificationService {
suspend fun declineVerification()
/**
* Starts the verification of the unverified session from another device.
* Transition the current verification request into a SAS verification flow.
*/
suspend fun startVerification()
suspend fun startSasVerification()
/**
* Returns the verification service state to the initial step.