[auth] Add option to force token deletion if revocation fails.
Recently we've been seeing some problems with deleting accounts while the network is unavailable following a "factory reset". Originally this was because the deletion was being performed right after a reboot before the network came up. At the time SysUI and Identity agreed to move the deletion as a stopgap and add a force option as a longer term solution. Unfortunately last week we made a different change. This CL implentments the longer term solution we'd previously agreed, letting clients choose whether its more important to maintain consistency between client and server state or to actually get rid of the tokens. Change-Id: Idc3c12028ad4d6a19cf3d7f81b6a54eeda4a611a
Showing
- garnet/bin/auth/tests/token_manager_integration/dev_token_mgr_test.cc 7 additions, 3 deletions...uth/tests/token_manager_integration/dev_token_mgr_test.cc
- garnet/lib/auth/token_manager/src/token_manager.rs 17 additions, 10 deletionsgarnet/lib/auth/token_manager/src/token_manager.rs
- peridot/bin/basemgr/user_provider_impl.cc 4 additions, 2 deletionsperidot/bin/basemgr/user_provider_impl.cc
- peridot/bin/sessionmgr/agent_runner/agent_context_impl.cc 1 addition, 1 deletionperidot/bin/sessionmgr/agent_runner/agent_context_impl.cc
- peridot/bin/sessionmgr/agent_runner/agent_context_impl.h 1 addition, 1 deletionperidot/bin/sessionmgr/agent_runner/agent_context_impl.h
- peridot/bin/sessionmgr/agent_runner/agent_runner_unittest.cc 1 addition, 1 deletionperidot/bin/sessionmgr/agent_runner/agent_runner_unittest.cc
- sdk/fidl/fuchsia.auth/BUILD.gn 2 additions, 1 deletionsdk/fidl/fuchsia.auth/BUILD.gn
- sdk/fidl/fuchsia.auth/fuchsia.auth.api 1 addition, 1 deletionsdk/fidl/fuchsia.auth/fuchsia.auth.api
- sdk/fidl/fuchsia.auth/token_manager.fidl 10 additions, 4 deletionssdk/fidl/fuchsia.auth/token_manager.fidl
- src/ledger/lib/firebase_auth/testing/fake_token_manager.cc 1 addition, 0 deletionssrc/ledger/lib/firebase_auth/testing/fake_token_manager.cc
- src/ledger/lib/firebase_auth/testing/fake_token_manager.h 1 addition, 1 deletionsrc/ledger/lib/firebase_auth/testing/fake_token_manager.h
- src/ledger/lib/firebase_auth/testing/service_account_token_manager.cc 1 addition, 1 deletion...ib/firebase_auth/testing/service_account_token_manager.cc
- src/ledger/lib/firebase_auth/testing/service_account_token_manager.h 1 addition, 1 deletion...lib/firebase_auth/testing/service_account_token_manager.h
- src/ledger/lib/firebase_auth/testing/test_token_manager.cc 1 addition, 0 deletionssrc/ledger/lib/firebase_auth/testing/test_token_manager.cc
- src/ledger/lib/firebase_auth/testing/test_token_manager.h 1 addition, 1 deletionsrc/ledger/lib/firebase_auth/testing/test_token_manager.h
Loading
Please register or sign in to comment