Skip to content

8.0.0

Latest
Compare
Choose a tag to compare
@sachaMemmir5 sachaMemmir5 released this 15 Jan 15:42
· 2 commits to master since this release
a47a4ff

New features

Breaking changes

  • Allow to initiate an mfa step up when required during a call to loginWithPassword and login(withRequest:usingModalAuthorizationFor:display:) (when .Password is used).
    For that the return type of these methods were changed from AuthToken to a new type LoginFlow to represent the potential new MFA step up introduced.
  • Change the name of StartStepUp to StartStepUp.AuthTokenFlow and make its authToken parameter mandatory
  • Some method will see their returned error type change from .TechnicalError to .AuthFailure or .RequestError, and will now come with an ApiError containing the details of the error.