TF-4145 Implement get oidc user_info from endpoint of oidc configuration

This commit is contained in:
dab246
2025-11-12 16:25:51 +07:00
committed by Dat H. Pham
parent 655a1bf81a
commit 43de7edd47
14 changed files with 185 additions and 6 deletions
+9
View File
@@ -1,7 +1,10 @@
import 'package:model/oidc/response/oidc_user_info.dart';
class TwakeAppManager {
bool _hasComposer = false;
bool _isExecutingBeforeReconnect = false;
OidcUserInfo? _oidcUserInfo;
void setHasComposer(bool value) => _hasComposer = value;
@@ -10,4 +13,10 @@ class TwakeAppManager {
void setExecutingBeforeReconnect(bool value) => _isExecutingBeforeReconnect = value;
bool get isExecutingBeforeReconnect => _isExecutingBeforeReconnect;
void setOidcUserInfo(OidcUserInfo value) => _oidcUserInfo = value;
void clearOidcUserInfo() => _oidcUserInfo = null;
OidcUserInfo? get oidcUserInfo => _oidcUserInfo;
}