TF-607 Delete authority oidc when logout

This commit is contained in:
dab246
2022-06-03 18:37:17 +07:00
committed by Dat H. Pham
parent ced3fecd1f
commit c445d3c71a
14 changed files with 105 additions and 18 deletions
@@ -25,4 +25,9 @@ class OidcConfigurationCacheManager {
log('OidcConfigurationCacheManager::persistAuthorityOidc(): $authority');
await _sharedPreferences.setString(OIDCConstant.keyAuthorityOidc, authority);
}
Future<void> deleteAuthorityOidc() async {
log('OidcConfigurationCacheManager::deleteAuthorityOidc()');
await _sharedPreferences.remove(OIDCConstant.keyAuthorityOidc);
}
}