Commit Graph
4 Commits
Author SHA1 Message Date
Dave DeLong a37eca4c8e Expose access token via AuthenticationDelegate (#7536) 2026-08-31 07:47:10 +02:00
Dave DeLongandÁlvaro Brey 4e98dd2f75 Inject and refresh IAM tokens (#7440)
* ci: announce modifications in the SDK API feed (#7451)

An attribute-only modification is neither an addition nor a break, so it reached the feed as a headline and a link, with the headline claiming new API.

* Implement the IAM network operations

# Conflicts:
#	RevenueCat.xcodeproj/project.pbxproj

# Conflicts:
#	RevenueCat.xcodeproj/project.pbxproj

# Conflicts:
#	Sources/Authentication/Authentication.swift
#	Sources/Identity/IdentityManager.swift
#	Tests/UnitTests/Networking/BackendErrorTests.swift

* target membership

* Inject tokens and attempt to refresh when necessary

* testa and a full comment

* senior engineer, reporting for duty

* custom compilation guard

* retain the authentication instance so errors can be reported

---------

Co-authored-by: Álvaro Brey <alvaro.brey@revenuecat.com>
2026-08-21 14:04:23 -06:00
Dave DeLongandÁlvaro Brey 8349a4afd1 Implement IAM Login Operations (#7439)
* ci: announce modifications in the SDK API feed (#7451)

An attribute-only modification is neither an addition nor a break, so it reached the feed as a headline and a link, with the headline claiming new API.

* Implement the IAM network operations

# Conflicts:
#	RevenueCat.xcodeproj/project.pbxproj

# Conflicts:
#	RevenueCat.xcodeproj/project.pbxproj

* target membership

# Conflicts:
#	RevenueCat.xcodeproj/project.pbxproj

* fix test

* address cursor feedback

* fix imports

* revert fetch policy

* missed one

---------

Co-authored-by: Álvaro Brey <alvaro.brey@revenuecat.com>
2026-08-21 14:04:22 -06:00
4524b91148 IAM Login part 2 (#7410)
* ci: announce modifications in the SDK API feed (#7451)

An attribute-only modification is neither an addition nor a break, so it reached the feed as a headline and a link, with the headline claiming new API.

* Add the Authentication namespace

* Add TokenManager

* Tests

* add test file to xcodeproj

* Add API tests

* expose authentication property

* swift API test

* more fixes

* lint

* Update baseline swiftinterface files (#7421)

* sigh

* extra parameter

* missing arg

* a couple more

* Fix visibility

* fix backend test compilation

* remove unnecessary delegate parameter

* remove commented-out APIs

* add KeychainAccessGroup api

* -_-

* fix test

* don't include attributes values in the description

* Address feedback

* lint

* address feedback

---------

Co-authored-by: Álvaro Brey <alvaro.brey@revenuecat.com>
Co-authored-by: RevenueCat Git Bot <72824662+RCGitBot@users.noreply.github.com>
2026-08-21 14:04:21 -06:00