Members
Every member who signs in to your app must exist in the Advanta Health member roster, which your organization manages in the AIDE Developer Portal together with eligibility and program assignments. AFCore reads that record once the member signs in.
Enrollment models
| Model | When to use it | SDK call |
|---|---|---|
| Eligibility file | Members are pre-loaded into AIDE from a sponsor file; they sign in with the credentials they were issued | authenticateWithCredentials(username, password) |
| SSO / external user id | Your identity provider issues identities; the member is created on first sign-in | signInOrCreateMember(externalUserId, ...) |
Both are described in Authentication.
Reading member data
- Android (Kotlin)
- iOS (Swift)
val profile = AFCore.profile().get()
val programs = AFCore.programs().getAvailablePrograms()
let profile = try await AFCore.shared.profile().get()
let programs = try await AFCore.shared.programs().getAvailablePrograms()
Changes made in AIDE -- a member disabled or re-enrolled, programs swapped -- reach the app on the next request. Treat entitlements as valid for the current session only. See Profile and Programs.
Learn more
Roster management and eligibility files are documented in AIDE Docs.