feat: Support refresh tokens

This commit is contained in:
Krille 2024-03-08 12:46:26 +01:00
parent bb3865757b
commit 1712d30c2f
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
3 changed files with 4 additions and 3 deletions

View file

@ -121,6 +121,7 @@ abstract class ClientManager {
nativeImplementations: nativeImplementations,
customImageResizer: PlatformInfos.isMobile ? customImageResizer : null,
enableDehydratedDevices: true,
onSoftLogout: (client) => client.refreshAccessToken(),
);
}

View file

@ -1186,10 +1186,10 @@ packages:
dependency: "direct main"
description:
name: matrix
sha256: "64b71793b689f57521f24d5412dadd090a61762084971ff13c7b8870b3cebeb7"
sha256: aa9a7c641c5f99e7839c62c0461b279e5e9a3e803d400e57110f158ac28763d9
url: "https://pub.dev"
source: hosted
version: "0.25.11"
version: "0.26.0"
matrix_api_lite:
dependency: transitive
description:

View file

@ -65,7 +65,7 @@ dependencies:
keyboard_shortcuts: ^0.1.4
latlong2: ^0.8.1
linkify: ^5.0.0
matrix: ^0.25.11
matrix: ^0.26.0
native_imaging: ^0.1.0
package_info_plus: ^5.0.1
pasteboard: ^0.2.0