As referenced from a review comment for CL 1291314[1], OAuth2TokenService::ScopeSet (defined in [2]) is being used at the moment in the API of the IdentityManager everywhere [3], which hints clients of the IdentityManager API into including oauth2_token_service.h just to use that typedef in order to define an ScopeSet and pass it to the relevant functions.
Since we're migrating many parts of the code base away from O2TS and into the Identity service, it would be nicer if we didn't have to rely on that definition when using the IdentityManager APIs and use identity::ScopeSet, which is equivalent to O2TS:ScopeSet and is defined in //services/identity/public/cpp/scope_set.h [4].
This ticket would take care of updating the IdentityManager's API and relevant callers.
Comment 1 by ma...@igalia.com
, Oct 26