Releases: KoCMoHaBTa/MHIdentityKit
Releases · KoCMoHaBTa/MHIdentityKit
CocoaPods Support
- added support for installing using CocoaPods
Enabled modern unit testing features
Enabled code coverage, parallelization and random execution order on unit tests.
Changed incense to MIT
Swift 4.2 & Xcode 10
Updated for Swift 4.2 using Xcode 10 :)
Happy Xcoding ...
Also including unrelease 1.6.0 changes:
- added optional event callbacks to CredentialsProvider
- updated AnyCredentialsProvider to reflect changes from CredentialsProvider
- ResourceOwnerPasswordCredentialsGrantFlow - updated to send events to CredentialsProvider
1.5.1
- OAuth2IdentityManager - when refreshing fails due to OAuth2 error, like invalid_grant - removes the old token in order to not try to perform additional refreshes with the same invalid token.
1.5.0
- replaced legacy JSONSerialization with Swift Codable
- added progress indicator to iOS's User Agent (WebViewUserAgentViewController)
- added more
Any
implementations of library's protocols - AnyCredentialsProvider, AnyNetworkClient, AnyRequestAuthorizer - added iOS demo for Client Credentials and Resource Owner Password Credentials flows
- added more explicit representation of demo result - you can now see the request, response and error.
1.4.1
- fixed a bug, causing force authentication upon error to not trigger due to incorrect error unwrapping logic
iOS WKWebView User Agent
- implemented a default user agent for iOS that uses WKWebView
- MHIdentityKit-iOSTestsHost - now contains UI for trying out the authorization code grand flow
- AuthorizationCodeGrantFlow - added additional init to handle direct initialization with client and secret
- ErrorResponse - is now localizable and return its code value for convenience
Updated for Xcode 9.3 and Swift 4.1
1.3.1 - updated readme
Authorization Code Grant Flow
- implemented the OAuth2 code flow
- allowed custom grant types to be defined
- updated unit tests
Muti platform support
Added support for watchOS, tvOS and macOS.