statusFlow

abstract val statusFlow: Flow<MfaStatus>(source)

The current MFA status of the user as a flow. This flow will emit a new status any time Auth.sessionStatus changes.

Note that if the user has verified a factor on another device and the user hasn't been updated on this device, MfaStatus.active will return false. You can use Auth.retrieveUserForCurrentSession to update the user and this property will update.