SDK Modules
After having created the SDK Manager instance, you can access the modules, using the corresponding getter method:
Initialize SDK Manager and access to sub-modules
let manager = try SdkManager(configuration: sdkConfiguration)
manager.tokens().<method of the module>
The following modules are available:
| Name | Getter Method | Description |
|---|---|---|
| Authentication | authentication | This module manages access to the authorization layer of the SDK |
| Dedicated IP | dip | This module provides methods to manage the full lifecycle of Dedicated IP addresses. |
| Simple Dedicated IP | sdip | Reserve a dedicated IP from a location's pool for a subscription, and list the ones it holds. |
| Token Management | tokens | This module provides methods to access the different token types used by several services |
| Subscription & Entitlements | subscriptions | This module provides methods to get information about subscriptions and entitlements |
| VPN | vpn | This module provides methods to fetch VPN server locations and endpoints. Additionally, it provides methods to measure the performance of specific VPN servers and connections. |
| Identity Protection | idp | Array.com account enrollment, alerts, credit scores, and Privacy Protect scans. |
| Scam Protection | scamProtection | Scam-call and scam-message protection: enrollment, entitlement state, and vendor sync status. |
| ExpressAI | expressAi | Encrypted AI chat completions: streaming responses, chat credits, end-to-end encryption to an attested enclave. |
| Support | support | Submits a support ticket with a user message and diagnostic details on behalf of a signed-in user. |
| Logs Collector | logsCollector | Writes SDK logs to disk, uploads them to a support ticket, or exports them to a local ZIP file. |