Skip to content

4.0

Compare
Choose a tag to compare
@sbb-jenkins sbb-jenkins released this 03 Jun 07:03
· 18 commits to master since this release

Added

  • Added support for OpenId Connect Discovery to load the OpenID provider configuration information. If this fails, a .providerConfigurationUnavailable error is returned.
  • Added the global function swissPassClientVersion() that returns the version of the framework.
  • Added support for an identity assurance level on the SwissPassLoginUser and on UserInfo based on the new enum type IAL. Note that currently only IAL1 and IAL2 are supported.
  • Added a 2nd view to the SwissPassMobileCardViewController.
  • Added a new SwissPassMobileCardViewControllerDelegate method which is called when the page view controller did finish a transition.

Changed

  • Changed the deployment target to iOS 12
  • Removed the previously deprecated parameter forceRefresh in requestToken().
  • Removed both the TokenProviderand OAuthServer.
  • Removed the typealias TokenHandler
  • Changed the ClientFactory to take a SwissPassLoginClient when creating the SwissPassMobileClient.
  • Changed the app2web SSO mechanism to use the new SSO ticket endpoint.
  • Removed support for the tokenManagement page.
  • Changed the result of requestRegistration() to a .success only if the registration process was completed successfully, otherwise SwissPassLoginError.webSessionClosed is returned.
  • Extended SwissPassLoginError.webSessionClosed with an optional associated WebSessionDetail that provides more information about modifications to the user account.
  • Marked SwissPassMobileViewController as deprecated.
  • Changed the UserInfo property userID to use the key sub instead of SPIdPUID
  • Changed the ClientFactory create methods to throw a ClientError if initialization failed.
  • Removed the computed property accountIsLinkedWithCard on UserInfo.

Fixed

  • The status bar appearance is handled correctly when showing the login window.