Skip to content

Releases: codefiesta/OAuthKit

OAuthKit 1.5.0

17 Jul 17:32
597cc42
Compare
Choose a tag to compare
  • OAuth.State contains new .error(Provider, OAError) state.

What's Changed

Full Changelog: 1.4.8...1.5.0

OAuthKit 1.4.8

16 Jul 22:26
6d8a2ec
Compare
Choose a tag to compare
  • OAuth.URLProtocol removal

OAuthKit 1.4.7

15 Jul 21:12
09aa69c
Compare
Choose a tag to compare

OAuthKit 1.4.6

11 Jul 16:54
0e291cd
Compare
Choose a tag to compare
  • OAuth & NetworkMonitor not conform to Sendable to safely pass from one concurrency domain to another.
  • NetworkMonitor is now a singleton instance that can be accessed with .shared

OAuthKit 1.4.5

08 Jul 15:41
53cec01
Compare
Choose a tag to compare
  • Provider fields are now all public (excluding clientID and clientSecret) which allows developers to plugin to their own authorization windows.

OAuthKit 1.4.4

03 Jul 04:21
93ab17f
Compare
Choose a tag to compare

OAuthKit 1.4.3

02 Jul 18:30
6ca8c84
Compare
Choose a tag to compare
  • Public Network Monitor

OAuthKit 1.4.2

01 Jul 18:00
a0a1c53
Compare
Choose a tag to compare

Observable NetworkMonitor

The NetworkMonitor is now annotated as @Observable and removes the Combine publishers to rely on network state changes. The NetworkMonitor now has an start() async method that asynchronously iterates through the internal NWPathMonitor NWPath elements as it conforms to AsyncSequence.

This release effectively removes any previous dependencies on the Combine Framework

OAuthKit 1.4.1

25 Jun 03:41
0cbb9ea
Compare
Choose a tag to compare

OAuthKit 1.4.0

24 Jun 23:48
9db9971
Compare
Choose a tag to compare

Local Authentication with Biometrics or Companion Device

Developers now have the option to protect keychain items (tokens) until successful local authentication has been achieved with biometrics or a companion device.

// Passing in the localAuthentication is optional but is 
// useful for fine-grained control while evaluating a user’s identity
let context: LAContext = .init()
let options: [OAuth.Option: Any] = [
    .localAuthentication: context,
    .requireAuthenticationWithBiometricsOrCompanion: true
]
let oauth: OAuth = .init(.main, options: options)