breaking: removed the deprecated MFA APIs#947
Conversation
|
@copilot review this PR |
Reviewed the PR. The changes look good overall — the deprecated MFA methods have been cleanly removed from Two small issues found and fixed in commit
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
There was a problem hiding this comment.
Pull request overview
Removes the legacy/deprecated MFA convenience methods from AuthenticationAPIClient (breaking change) and updates developer-facing docs to point consumers to the newer MfaApiClient APIs.
Changes:
- Removed deprecated MFA methods (
loginWithOTP,loginWithOOB,loginWithRecoveryCode,multifactorChallenge) and related constants/imports fromAuthenticationAPIClient. - Removed corresponding unit tests and outdated MFA OTP example documentation.
- Updated v4 migration guide and
ChallengeKDoc to referenceMfaApiClientand the newer MFA examples.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| V4_MIGRATION_GUIDE.md | Adds a v4 breaking-change note describing the removed deprecated MFA methods and where to migrate. |
| EXAMPLES.md | Removes the old MFA OTP example section; leaves the newer “MFA Flexible Factors Grant” section as the recommended approach. |
| auth0/src/test/java/com/auth0/android/authentication/AuthenticationAPIClientTest.kt | Deletes tests that exercised the removed deprecated MFA methods. |
| auth0/src/main/java/com/auth0/android/result/Challenge.kt | Updates KDoc reference away from the removed AuthenticationAPIClient.multifactorChallenge. |
| auth0/src/main/java/com/auth0/android/authentication/AuthenticationAPIClient.kt | Removes deprecated MFA methods and the now-unused MFA_PATH/related constants/imports. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
AuthenticationAPIClientMFA_PATHconstant left after removingmultifactorChallengeMfaApiClientandEXAMPLES.md