components/signin/public/identity_manager/README.md
The core public API surfaces for interacting with Google identity. Header files in this directory are allowed to depend only on the following other parts of the signin component:
//components/signin/public/base //components/signin/public/webdata
Implementation files in this directory, however, are additionally allowed to depend on //components/signin/internal/identity_manager.
Here we take a quick guide through the core concepts (note: Documentation on specific IdentityManager and IdentityManager::Observer methods can be found as method-level comments in identity_manager.h; this guide defines the core concepts themselves and gives a high-level mapping between these core concepts and the relevant IdentityManager(::Observer) API surfaces).
Documentation on the mapping between usage of legacy signin classes (notably PrimaryAccountManager and ProfileOAuth2TokenService) and usage of IdentityManager is available here:
https://docs.google.com/document/d/14f3qqkDM9IE4Ff_l6wuXvCMeHfSC9TxKezXTCyeaPUY/edit#