Fix bad merge
This commit is contained in:
parent
7bc0bd3b57
commit
6399032312
@ -130,13 +130,14 @@ interface AuthenticationService {
|
|||||||
* Return true if qr code login is supported by the server, false otherwise.
|
* Return true if qr code login is supported by the server, false otherwise.
|
||||||
*/
|
*/
|
||||||
suspend fun isQrLoginSupported(homeServerConnectionConfig: HomeServerConnectionConfig): Boolean
|
suspend fun isQrLoginSupported(homeServerConnectionConfig: HomeServerConnectionConfig): Boolean
|
||||||
|
|
||||||
|
/**
|
||||||
* Authenticate using m.login.token method during sign in with QR code.
|
* Authenticate using m.login.token method during sign in with QR code.
|
||||||
* @param homeServerConnectionConfig the information about the homeserver and other configuration
|
* @param homeServerConnectionConfig the information about the homeserver and other configuration
|
||||||
* @param loginToken the m.login.token
|
* @param loginToken the m.login.token
|
||||||
* @param initialDeviceName the initial device name
|
* @param initialDeviceName the initial device name
|
||||||
* @param deviceId the device id, optional. If not provided or null, the server will generate one.
|
* @param deviceId the device id, optional. If not provided or null, the server will generate one.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
suspend fun loginUsingQrLoginToken(
|
suspend fun loginUsingQrLoginToken(
|
||||||
homeServerConnectionConfig: HomeServerConnectionConfig,
|
homeServerConnectionConfig: HomeServerConnectionConfig,
|
||||||
loginToken: String,
|
loginToken: String,
|
||||||
|
Loading…
Reference in New Issue
Block a user