* feat(mobile): login with passkey * feat(mobile): use the server feature level on the login page * refactor(mobile): share the steps after a login * password, OAuth and passkey logins end with one finishLogin * OAuth now also connects the websocket, like the password login * fix(mobile): passkey login through the shared login steps * fix(mobile): build the login response through its constructor
19 lines
619 B
Diff
19 lines
619 B
Diff
@@ -16,7 +16,7 @@ class PasskeyAuthenticationFinishDto {
|
|
required this.response,
|
|
});
|
|
|
|
- PasskeyAuthenticationFinishDtoResponse response;
|
|
+ Map<String, dynamic> response;
|
|
|
|
@override
|
|
bool operator ==(Object other) => identical(this, other) || other is PasskeyAuthenticationFinishDto &&
|
|
@@ -45,7 +45,7 @@ class PasskeyAuthenticationFinishDto {
|
|
final json = value.cast<String, dynamic>();
|
|
|
|
return PasskeyAuthenticationFinishDto(
|
|
- response: PasskeyAuthenticationFinishDtoResponse.fromJson(json[r'response'])!,
|
|
+ response: json[r'response'],
|
|
);
|
|
}
|
|
return null;
|