One Logo Pool Ball
ServicesAccountLinking · IOS API REFERENCE

ResellerAccount

struct · SDK 27.1

struct ResellerAccount

Members (3)

static · iOS 16.4+

registerToken

TypeScript
static registerToken(token: string): Promise<void>
Swift declaration
@backDeployed(before: iOS 26.2)
static func registerToken(_ token: String) async throws

Registers a signed token with the user's Media & Purchases account. - Parameter token: The signed token representing user entitlement. - Throws: ``RegistrationError/notEligible`` if app is not a registered partner, ``RegistrationError/rateLimited`` if the server is rate limiting requests (check `userInfo[RegistrationErrorRetryAfterKey]` for the retry delay), or ``RegistrationError/failed`` for other failures.

static · iOS 16.4+

registerIdentifier

TypeScript
static registerIdentifier(identifier: string): Promise<void>
Swift declaration
@backDeployed(before: iOS 26.2)
static func registerIdentifier(_ identifier: String) async throws

Registers an account identifier with the user's Media & Purchases account. - Parameter identifier: The UUID string representing user entitlement. - Throws: ``RegistrationError/notEligible`` if app is not a registered partner, ``RegistrationError/rateLimited`` if the server is rate limiting requests (check `userInfo[RegistrationErrorRetryAfterKey]` for the retry delay), or ``RegistrationError/failed`` for other failures.

init

init

TypeScript
static init(): ResellerAccount
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All ServicesAccountLinking types →