Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated methods [SDK-2893] #543

Merged
merged 1 commit into from
Nov 12, 2021
Merged

Conversation

Widcket
Copy link
Contributor

@Widcket Widcket commented Nov 10, 2021

Changes

⚠️ THIS PR CONTAINS BREAKING CHANGES

All the deprecated methods were removed, along with the types that became unused as a result.

Methods removed

Authentication client
  • login(usernameOrEmail:password:multifactorCode:connection:scope:parameters:)
  • signUp(email:username:password:connection:userMetadata:scope:parameters:)
  • tokenInfo(token:)
  • userInfo(token:)
  • loginSocial(token:connection:scope:parameters:)
  • tokenExchange(withAppleAuthorizationCode:scope:audience:fullName:)
  • delegation(withParameters:)
Web Auth
  • useUniversalLink()
Credentials Manager
  • enableTouchAuth(withTitle:cancelTitle:fallbackTitle:)
Global functions
  • resumeAuth(_:options:) (iOS only)
  • resumeAuth(_:) (macOS only)

Types removed

Protocols

  • AuthProvider
  • NativeAuthTransaction

Typealiases

  • A0URLOptionsKey (iOS only)

Structs

  • NativeAuthCredentials
  • ConcatRequest

Classes

  • Profile
  • Identity

Also, the contents of UIApplication+Shared.swift and NSApplication+Shared.swift were integrated into MobileWebAuth.swift and DesktopWebAuth.swift, respectively.

Testing

  • This change adds unit test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

@Widcket Widcket requested a review from a team as a code owner November 10, 2021 21:29
@Widcket Widcket added the review:small Small review label Nov 10, 2021
@Widcket Widcket changed the title Remove deprecated methods Remove deprecated methods [SDK-2893] Nov 10, 2021
@Widcket Widcket merged commit 812eb34 into beta Nov 12, 2021
@Widcket Widcket deleted the v2/remove-deprecations branch November 12, 2021 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:small Small review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants