Commit graph

1 commit

Author SHA1 Message Date
Daimona Eaytoy
3b81a1ef27 Add TokenAwareHandlerTrait for handlers supporting CSRF-unsafe providers
Returning a known-good token is not part of the trait method because I
think handlers other than the ones based on the action API wouldn't even
need a token if the session is safe against CSRF.

Bug: T305043
Change-Id: If41749722b28c8c0e9898b3d3e7937167653fb10
2022-05-25 02:07:36 +00:00