Remove deprecated methods [SDK-2893] #543
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
andNSApplication+Shared.swift
were integrated intoMobileWebAuth.swift
andDesktopWebAuth.swift
, respectively.Testing
Checklist