summaryrefslogtreecommitdiffhomepage
path: root/mullvad-api/src/access.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-07-15Fix `collapsible_if` clippy lintMarkus Pettersson1-6/+6
2025-07-10Run `cargo fmt`Sebastian Holmin1-1/+1
2024-10-01Rename account "token" to account "number"Joakim Hulthe1-12/+10
2024-06-10Use configured hostname for access tokenEmīls1-4/+6
2024-01-11Synchronize `mullvad-api` and `mullvad-daemon` when the `api-override`Markus Pettersson1-1/+1
feature is enabled Move the logic for using overridden API endpoints for API calls from `mullvad-api::rest` to `mullvad_daemon::api`. This is in line with how the interaction between the two crates work for a normal release build, i.e. when the `api-override` feature is disabled. This commit also removes references to `force_direct_connection` in the Android code. The flag does not exist in the `mullvad-*` rust crates anymore, so it would be erroneous to try to serialize/deserialize the value from the Android client.
2023-10-30Share hostname string in RequestFactoryDavid Lönnhager1-1/+1
2023-10-30Newtype REST ResponseDavid Lönnhager1-2/+1
2023-10-30Handle authentication and errors in API clientDavid Lönnhager1-4/+7
2023-10-19Fold all access token requests into a single requestDavid Lönnhager1-80/+151
2023-01-30Run `cargo clippy --fix` with the new Rust 1.67 preferred formatLinus Färnstrand1-1/+1
2022-05-09Use stable device API endpointsDavid Lönnhager1-1/+1
2022-03-23Rename mullvad-rpc to mullvad-apiDavid Lönnhager1-0/+110