Releases: codefiesta/OAuthKit
Releases · codefiesta/OAuthKit
OAuthKit 1.5.0
- OAuth.State contains new
.error(Provider, OAError)
state.
What's Changed
- Error State by @codefiesta in #129
Full Changelog: 1.4.8...1.5.0
OAuthKit 1.4.8
OAuth.URLProtocol
removal
OAuthKit 1.4.7
- Introduces the OAuth.URLProtocol
OAuthKit 1.4.6
OAuth
&NetworkMonitor
not conform toSendable
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
Provider
fields are now all public (excludingclientID
andclientSecret
) which allows developers to plugin to their own authorization windows.
OAuthKit 1.4.4
- Rich Documentation with Swift DocC
OAuthKit 1.4.3
- Public Network Monitor
OAuthKit 1.4.2
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
- tvOS compiler fixes - build issue found thanks to Swift Package Index
OAuthKit 1.4.0
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)