okta / okta-mobile-swift

okta-mobile-swift
https://github.com/okta/okta-mobile-swift
Apache License 2.0
44 stars 19 forks source link

Ensure token item and metadata keychain accessibility settings are consistent. #200

Closed mikenachbaur-okta closed 3 months ago

mikenachbaur-okta commented 3 months ago

This addresses #198 by:

  1. Ensuring the token metadata is stored with the appropriate accessibility settings, respecting the parent item's iCloud sync setting.
  2. Returning token IDs only if both their item and metadata keychain entries can be found.
  3. Establishing the Credential.Security.isDefaultSynchronizable property, allowing the default identifier to be shared.

This also adds unit test coverage to validate these changes.