diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2023-09-22 16:08:33 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2023-10-09 14:40:12 +0200 |
| commit | 6a6843cbe2775aa6ad24a1f61d6b863ff982b817 (patch) | |
| tree | 8c1d34e28be9ac18e99a18e9dd08600627e87b3c /android/lib | |
| parent | 43cb757d2cbb396a627fb6b970394a7b73d37dc5 (diff) | |
| download | mullvadvpn-6a6843cbe2775aa6ad24a1f61d6b863ff982b817.tar.xz mullvadvpn-6a6843cbe2775aa6ad24a1f61d6b863ff982b817.zip | |
Refactor protobuf `ApiAccessMethod` definitions
- Replace rpcs `ReplaceApiAccessMethod` and `ToggleApiAccessMethod` in
favor of a commmon `UpdateApiAccessMethod` (which resembles
`ReplaceApiAccessMethod` in a lot of ways).
- `UpdateApiAccessMethod` works with unique identifiers instead of array
indices to pinpoint which API access method to update.
- Toggling an API access method to be enabled/disabled now happens via `UpdateApiAccessMethod`
- Add the useful `UUID` protobuf type definition, which
conveys more information that a raw string.
- Refactor `SetApiAccessMethod` to use API access method ID
- Update `ApiAcessMethod` messages to use `UUID` type for uuid values
- Use unique id for removing custom `ApiAccessMethods`
Diffstat (limited to 'android/lib')
0 files changed, 0 insertions, 0 deletions
