summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadREST/RESTAuthorization.swift
AgeCommit message (Collapse)AuthorFilesLines
2023-12-11Categorize files based on functionalitiesmojganii1-50/+0
2023-10-30Migrate settings to Version3 and introduce incremental migration scheme.Bug Magnet1-2/+2
2023-06-27New swiftformat rule, enable google swift guidelinesBug Magnet1-3/+3
2023-02-28Replace OperationCompletion with ResultAndrej Mihajlov1-10/+11
Error is set to OperationError.cancelled if operation is cancelled.
2023-02-10Disable retry strategy for access tokensAndrej Mihajlov1-21/+9
Requests that require authorization already implement their own retry strategy. Hence access token requests should be a part of that strategy and not behave as each having their individual strategy. Previously a request requiring authentication configured with 3 retry attempts would perform 9 calls (3 * 3) to obtain access token in the worst case. That's because each individual request to obtain access token was configured with default retry strategy (3 retry attempts). With this change exactly 3 attempts will be made.
2023-02-06REST: migrate app/v1/create-apple-payment to use access token authorizationAndrej Mihajlov1-5/+2
2022-10-20Move REST into separate frameworksajacl1-0/+64