HomePhabricator
Diffusion Comm e5f09476d959

[services-lib] Add enum for authorization tokens

Description

[services-lib] Add enum for authorization tokens

Summary:
Part of ENG-4939. We need to support both access token coming from users (commServicesAccessToken) and private service-to-service token. I've decided to create an enum for this

NOTE: I'm open to naming suggestions

Test Plan: Added unit tests. Also tested later in the stack

Reviewers: michal, varun, jon

Reviewed By: michal

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D9241

Details

Provenance
bartekAuthored on Sep 19 2023, 3:50 AM
Reviewer
michal
Differential Revision
D9241: [services-lib] Add enum for authorization tokens
Parents
rCOMMd2fdf5398d9e: [keyserver] Test impact of ThreadStore reductions on Atul's ThreadStore
Branches
Unknown
Tags
Unknown