Refactor Geo signing data logic
Extract specific encoding/decoding and signing data logic in a separate Gitlab::Geo::SignedData class to decouple from request authorization logic. This can be then used separately to generate JWT signed tokens from an existing node that can encode arbitrary data as needed.
Showing
Please register or sign in to comment