Skip to content

Commit 18e8fcc

Browse files
Copilotpmathew92
andcommitted
fix: remove unused MFA_PATH constant and improve migration guide
Agent-Logs-Url: https://github.com/auth0/Auth0.Android/sessions/3f5dc59e-fa49-4dd5-bb12-215b68803928 Co-authored-by: pmathew92 <17837162+pmathew92@users.noreply.github.com>
1 parent 18d763a commit 18e8fcc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

V4_MIGRATION_GUIDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ The following MFA methods have been removed from `AuthenticationAPIClient`. They
120120
- `loginWithRecoveryCode(mfaToken, recoveryCode)`
121121
- `multifactorChallenge(mfaToken, challengeType, authenticatorId)`
122122

123+
Use `AuthenticationAPIClient.mfaClient(mfaToken)` to obtain a `MfaApiClient` instance and handle MFA flows using the new APIs. See the [MFA Flexible Factors Grant](EXAMPLES.md#mfa-flexible-factors-grant) section in `EXAMPLES.md` for usage guidance.
124+
123125
### DPoP Configuration Moved to Builder
124126

125127
The `useDPoP(context: Context)` method has been moved from the `WebAuthProvider` object to the login

auth0/src/main/java/com/auth0/android/authentication/AuthenticationAPIClient.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,6 @@ public class AuthenticationAPIClient @VisibleForTesting(otherwise = VisibleForTe
982982
private const val TOKEN_PATH = "token"
983983
private const val USER_INFO_PATH = "userinfo"
984984
private const val REVOKE_PATH = "revoke"
985-
private const val MFA_PATH = "mfa"
986985
private const val CHALLENGE_PATH = "challenge"
987986
private const val PASSKEY_PATH = "passkey"
988987
private const val REGISTER_PATH = "register"

0 commit comments

Comments
 (0)