Skip to content

Conversation

@russellwheatley
Copy link
Member

@russellwheatley russellwheatley commented Nov 14, 2025

Tried to minimise the size of the AuthService public API.

  • made shouldHandleAnonymousUpgrade private.
  • Removed currentMFARequired and put it on the Navigator routes to pass to MFAResolution.
  • Tried to remove passwordPrompt but I don't think it is possible after trying a number of different ways. Sensitive operations require re-entering password. So I've created an email provider so that consumers can provide their own if they wish. This required making members on PasswordPromptCoordinator public, allowing withEmailSignIn to pass in a custom provider (following same pattern as other providers). I've also created a createReauthCredential() method on the email provider to make it obvious what passwordPrompt is used for.

@russellwheatley russellwheatley merged commit e4d8e4e into development Nov 14, 2025
7 of 9 checks passed
@russellwheatley russellwheatley deleted the make-props-private branch November 14, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants