Skip to content

Conversation

@luizgustavo09
Copy link

@luizgustavo09 luizgustavo09 commented Nov 17, 2025

Description

Obs: Changed logs and version will be updated on final version, not for draft

This PR adds modern async/await versions of all authentication methods while maintaining full backward compatibility with existing completion-based APIs.

New public API:

let client = try await UberAuth.login(context: context)

Key changes:

  • Added async/await methods to UberAuth, AuthProviding, and NetworkProvider
  • Old completion-based APIs remain functional and are marked as deprecated

Testing

  • Added 18 new async/await unit tests covering full authentication flow
  • Updated all mocks to support async/await
  • Verified backward compatibility - existing completion-based code still works

@CLAassistant
Copy link

CLAassistant commented Nov 17, 2025

CLA assistant check
All committers have signed the CLA.

@luizgustavo09 luizgustavo09 changed the title [WIP] Add swift concurrency for auth flow Add swift concurrency for auth flow Dec 4, 2025
@luizgustavo09 luizgustavo09 marked this pull request as ready for review December 4, 2025 16:40
@luizgustavo09 luizgustavo09 force-pushed the refactor/main/swift-concurrency branch from a1e693b to 97fb0fe Compare December 4, 2025 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants