TF-1115 Implement catch exception for AuthenticationOIDCDataSource

This commit is contained in:
dab246
2022-10-28 12:55:45 +07:00
committed by Dat H. Pham
parent df2406f752
commit c4eac83477
7 changed files with 105 additions and 43 deletions
@@ -95,10 +95,11 @@ class EmailBindings extends BaseBindings {
Get.find<RemoteExceptionThrower>()));
Get.lazyPut(() => StateDataSourceImpl(Get.find<StateCacheClient>(), Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => AuthenticationOIDCDataSourceImpl(
Get.find<OIDCHttpClient>(),
Get.find<AuthenticationClientBase>(),
Get.find<TokenOidcCacheManager>(),
Get.find<OidcConfigurationCacheManager>()
Get.find<OIDCHttpClient>(),
Get.find<AuthenticationClientBase>(),
Get.find<TokenOidcCacheManager>(),
Get.find<OidcConfigurationCacheManager>(),
Get.find<RemoteExceptionThrower>(),
));
}